Project location is not fully trusted
-
Actually i am devloping one windows application. it is on my network drive. its running on my PC. but when i try to run my exe from different machine from the same folder , it gives me error security exception. i try to open my project on othe pc, it gives me error that project location is not fully trusted. and when i am giving trust to my application exe from .net framework configuration tool it gives me error that hash for this assembly can not be generated. pls. reply as soon as possible.. i am just stuck Hemaxi
-
Actually i am devloping one windows application. it is on my network drive. its running on my PC. but when i try to run my exe from different machine from the same folder , it gives me error security exception. i try to open my project on othe pc, it gives me error that project location is not fully trusted. and when i am giving trust to my application exe from .net framework configuration tool it gives me error that hash for this assembly can not be generated. pls. reply as soon as possible.. i am just stuck Hemaxi
The runtime doesn't trust the location you're running it from, because your developing it on your machine VS has probably set all the required permissions. To run it from another PC you need to goto: Control Panel -> Administrative Tools -> Microsoft .NET [version (e.g. 2.0)] Configuration. Inside the configuration pane select "Runtime Security Policy" -> Increase Assembly Trust, a wizard will popup and guide you through the steps required to allow that program to run from the network (note this can be configured on an app by app basis or for the entire machine).
You know you're a Land Rover owner when the best route from point A to point B is through the mud. Ed