Hi Brian,
Thanks for posting in the community.
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that when you debugging a ASP.NET
projects, you get the error below randomly.
"A first chance exception of type
'System.Security.Policy.PolicyException' occurred in mscorlib.dll
Additional information: Policy level User cannot be saved."
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.
You may try to follow the steps below to see if the problem persists.
Press Ctrl+Alt+E to open the Exceptions dialog.
Select Command language runtime Exceptions
In the "When the exception is thrown" section,
Did you check the "Break into the debugger"?
If yes, please try to check the continue to see if the problem presists.
Also I think the problem just specify to one of you ASP.NET project?
Am I right, if no, please feel free to let me know.
If this problem is specify to the ASP.NET project, to isolate the problem
you may try to comment out the code in you ASP.NET projects and the
de-reference the dll you are calling in your project, to see if the problem
persists.
Please Apply My Suggestion Above And Let Me Know If It Helps Resolve Your
Problem.
However, if the problem still persists, please help me collect more
information for further troubleshooting.
Regarding First chance exception, take a look at:
INFO: First and Second Chance Exception Handling
ID: 105675 <
http://support.microsoft.com/default.aspx?scid=kb;en-us;105675>
As for the Access excption you may take a look at the link below.
BUG: Error Message When You Build a Solution with Multiple Projects: Could
Not Copy
Temporary Files to the Output Directory
ID: 313512 <
http://support.microsoft.com/default.aspx?scid=kb;en-us;313512>
Also can you provide with me the exactly error message you get when you get
Access exception.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.