Solved

Can not start application from mapped unc rive, suspecting caspol

Posted on 2012-03-30
1
840 Views
Last Modified: 2012-04-10
We have some trouble starting some custom applications from a mapped UNC drive at some terminal servers, others not. The terminal servers are Windows 2003 servers. One such application was possible to start after executing the following command:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>caspol.exe -m -addgroup 1.2 -url "file:///\\server\applicationshare\folder\*" FullTrust -n test

However, several other applications in the folder structure under the same path do not start. There is no error message, nothing logged in eventviewer, and nothing appears when running the exe file. Tried an process monitor trace, wich shows that the exe file executes, digs around in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG, then searches in several registry keys such as HKCU\Software\Microsoft\Windows\CurrentVersion, goes through a bunch of dll's, reads through what looks to be the GAC and then issues a Process Exit with the following information:

Exit Status:      -532459699
User Time:      0.0156250 seconds
Kernel Time:      0.1406250 seconds
Private Bytes:      8 126 464
Peak Private Bytes:      8 318 976
Working Set:      8 863 744
Peak Working Set:      9 043 968

I have verified that C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\security.config contains the settings I have  been trying to add, both with mapped UNC drive letter in the path and full clean UNC path.

I am unsure on how to troubleshoot further, any ideas?
0
Comment
Question by:itnifl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
itnifl earned 0 total points
ID: 37827133
.Net 3.0 and .Net 3.5 were missing on the terminal servers where this problem occured. Installing this fixed  the problem.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Understanding mobile browsers 9 93
Enforce Chrome to open certain links in IE 6 44
Migrating files on WS2003SP2 to Azure File Share 7 61
SSIS Paramater on start 2 27
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question