An application works from my local machine, but throws a SecurityException when I move it to a network share:
Security Exception, AspNetHostingPermission Error …
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, please contact your system administrator or change the application's trust level in the configuration file
I already experienced similar problem with .NET Framework 1.1 and I fixed it using Microsoft .NET Framework Configuration, when I tried to do the same thing on version 2.0 I notice MMC snap-in is missing ...
Microsoft moved this tool to the SDK package, which you can download here: [x86] [x64] [IA64].
However, you still can modify the trust level by using Command Tool
You can get detailed information from the article below: