Install a Console application on the server
-
:confused:Hi, I have created a console application,and I am refering couple of DLL's in it. I made it into a setup package and installed in another machine, it ran well. When i installed on our network server and tried to run it. It did not run, it gave security.policy exception. Eventhough i have full control over the folder in the network i dont know why i cant run the application installed in the server from my machine. CAn anyone help me. If what i am doing is wrong I would appreciate if anyone can tell me the method of installing it properly on the network server. Thanks
-
:confused:Hi, I have created a console application,and I am refering couple of DLL's in it. I made it into a setup package and installed in another machine, it ran well. When i installed on our network server and tried to run it. It did not run, it gave security.policy exception. Eventhough i have full control over the folder in the network i dont know why i cant run the application installed in the server from my machine. CAn anyone help me. If what i am doing is wrong I would appreciate if anyone can tell me the method of installing it properly on the network server. Thanks
That's how it works. .NET applications running from network drives run in a sandbox. The easiest way to work around this is to copy the command line program to the local hard drive where you want to run it. If that is not acceptable, you will have to muck around with .NET security policies, and decide the best way to grant full permissions. There is a bit of a learning curve, so if you can just copy to the local drive, you will be better off!