.NET C# running application from UNC results in error

I have an application which does not read ANY files from the local disk or does not try to write anything.

It runs perfectly on the local filesystem, but it needs to run on a few 100 workstations, so I put it on a share on a Win2003 server.

But when I try to start it on a XP workstation from the UNC:


What can be the issue here?


The issue is that the XP machine is likely running an earlier version of .Net 2.0. Up until 3.5 SP1 it was a violation of CLR security policies to run a .Net application from an UNC share. To do so you must tweak the CAS (Code Access Security) policy on the local machine. Starting with 3.5SP1 this requirement was removed.

More Details:

Only applications on the local file system have full trust to run. Try following the steps on this site:


.Net code access security might be one of reasons. You can adjust it in thru control panel and change the settings for "Local intranet" zone. The best solution is to create a custom policy, however.

it is because of limited permissions. as far as i remember, if you go to explorer and find that exe, right click on it, you will see tab for extending permissions for app.

Need Your Help

iOS: Orientation get future self.view.bounds

objective-c ios rotation orientation bounds

Background: I wanted to animate the change in my content along with the orientation. My content position is relative to the self.view.bounds.

Excel 2010 Macro: Replace all cells containing number greater than AND smaller than

excel excel-vba excel-2010

I have a large excel sheet in which I want to replace several number ranges (all within the same range of cells). For example, I want to replace all numbers greater than -5 and smaller than 5 with ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.