JaK82

Hi,

We have a developed an application for student to submit their results using c#. The program runs fine when we run it from the machine the problem is when we put it on our server it pops up with a box asking if we want to run it. When we click run nothing happens!

Any Ideas,

Many Thanks

Chris



Re: Visual C# General URGENT!! Problem running exe from network

Ernst Kuschke

Are you running the exe OVER the network Copy it to the server and run it there.





Re: Visual C# General URGENT!! Problem running exe from network

Galin Iliev

This is because CAS policy which can be found in Microsoft .NET Framework 2.0 Configuration MMC.

Each assembly is evaluated if it has enough evidence to run and .NET decided in which privilegies to give based on evidence (publisher, location, etc.)

by default assemblies executed from network share are ran with limited rights.

Take a look here for more details Why doesn't my .NET application work when run from a network share

Hope this helps