User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 373,545 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,828 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 7457 | 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)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 7:03 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC