Policy level User cannot be saved

  • Thread starter Thread starter bjhill2112
  • Start date Start date
B

bjhill2112

Does anybody know what causes this? It is a sporadic error that randomly
shows up while debugging one of my ASP.NET projects.
Quote:

"A first chance exception of type
'System.Security.Policy.PolicyException' occurred in mscorlib.dll

Additional information: Policy level User cannot be saved."

Also, the project will occaisionally give "first chance" Access
exceptions on temporary libraries in the system "Temporary ASP.NET
Files" directory.

Thanks,

Brian Hill
 
Hi Brian,

Thanks for posting in the community.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
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.
 
Hi Brian,

Thanks for posting in the community.

Have you tried my suggestion? Did that help you?
If you have any concern on this issue ,please post here.

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.
 
Back
Top