954,560 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

'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
 
The solution is to run mscorcfg.msc (.NET Framework Configuration Tool) and elevate the trust level of to Full Trust.

How would I go about doing that? (dealing with the same problum now)

hike34
Newbie Poster
7 posts since Jul 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
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You