DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   'System.Security.Policy.PolicyException' compiler error on shared drive (http://www.daniweb.com/forums/thread28070.html)

DotNetUser Jul 13th, 2005 11:59 am
'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 Jul 13th, 2005 6:29 pm
Re: 'System.Security.Policy.PolicyException' compiler error on shared drive
 
The solution is to run mscorcfg.msc (.NET Framework Configuration Tool) and elevate the trust level of <Local Intranet> to Full Trust.

hike34 Jul 17th, 2005 7:50 am
Re: 'System.Security.Policy.PolicyException' compiler error on shared drive
 
Quote:

Originally Posted by DotNetUser
The solution is to run mscorcfg.msc (.NET Framework Configuration Tool) and elevate the trust level of <Local Intranet> to Full Trust.


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

DotNetUser Jul 18th, 2005 12:16 pm
Re: 'System.Security.Policy.PolicyException' compiler error on shared drive
 
Go to C:\WINNT\Microsoft.NET\Framework\v1.1.4322 and run mscorcfg.msc

Select <Runtime Security Policy> => Select <Adjust Zone Security> => Select <Local Intranet> and elevate arrow to <Full Trust>


All times are GMT -4. The time now is 5:09 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC