'System.Security.Policy.PolicyException' compiler error on shared drive
When I compile my Visual C++ .NET project under a shared drive, I get the following error:
"An unhandled exception of type 'System.Security.Policy.PolicyException' occurred in Unknown Module."
What do I need to configure to allow shared drives to be fully trusted?
Thanks.
DotNetUser
Junior Poster in Training
69 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
The solution is to run mscorcfg.msc (.NET Framework Configuration Tool) and elevate the trust level of to Full Trust.
DotNetUser
Junior Poster in Training
69 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
Go to C:\WINNT\Microsoft.NET\Framework\v1.1.4322 and run mscorcfg.msc
Select => Select => Select and elevate arrow to
DotNetUser
Junior Poster in Training
69 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0