RSS Forums RSS
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 8028 | Replies: 3
Reply
Join Date: Jun 2005
Posts: 69
Reputation: DotNetUser is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
DotNetUser DotNetUser is offline Offline
Junior Poster in Training

'System.Security.Policy.PolicyException' compiler error on shared drive

  #1  
Jul 13th, 2005
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Posts: 69
Reputation: DotNetUser is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
DotNetUser DotNetUser is offline Offline
Junior Poster in Training

Re: 'System.Security.Policy.PolicyException' compiler error on shared drive

  #2  
Jul 13th, 2005
The solution is to run mscorcfg.msc (.NET Framework Configuration Tool) and elevate the trust level of <Local Intranet> to Full Trust.
Reply With Quote  
Join Date: Jul 2005
Posts: 7
Reputation: hike34 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
hike34 hike34 is offline Offline
Newbie Poster

Re: 'System.Security.Policy.PolicyException' compiler error on shared drive

  #3  
Jul 17th, 2005
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)
Reply With Quote  
Join Date: Jun 2005
Posts: 69
Reputation: DotNetUser is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
DotNetUser DotNetUser is offline Offline
Junior Poster in Training

Re: 'System.Security.Policy.PolicyException' compiler error on shared drive

  #4  
Jul 18th, 2005
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>
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:45 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC