473,323 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Policy level User cannot be saved



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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
3 1353
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.
--------------------

Nov 20 '05 #2
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.

Nov 20 '05 #3
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.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rob Barnes | last post by:
When I try to create a machine-level security policy based on an assembly's strong name, I get the following error: "ERROR: Invalid label or name" The caspol command is: "caspol -machine...
0
by: Mark Broadbent | last post by:
Could someone who has active experience of assigning Security Policys please clarify my follow comments... Having gone through the MSDN documentation on this subject, my condensed version of the...
3
by: david.kao | last post by:
Hi All: I tried to uninstall a runtime security package from a user's machine. Based on document I have read, all I need to do is right click on MSI file, and choose uninstall from menu. After I...
1
by: Jack | last post by:
I am trying to write a vb.net app that can read and/or write local security policy settings on standalone workstations. BTW, counting on domain group policy is not an option, since some of our...
3
by: marcmc | last post by:
When I distribute myApp to a network drive I get an error. Tells me I need to change my secority policy so I write a batch file as follows: C: CD\ CD...
0
by: aaragon | last post by:
Hi everyond. I'm trying to write a library usign policy based design so I can implement different behaviors. One of the behaviors was to define a StoragePolicy. The following code gives the...
11
by: aaragon | last post by:
Hi everyone. I'm trying to write a class with policy based design (Alexandrescu's Modern C++ Design). I'm not a programmer but an engineer so this is kind of hard for me. Through the use of...
2
by: Jeremy J Starcher | last post by:
On a web-forum I chat at, there are multiple lists of posts. The forum, hosted on multiple servers, allows us to upload graphics and Javascript to "skin" our particular forum. In addition, the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.