Keywords in the dictionary: "registrypermission" added Keywords: "registrypermission" error, because the server on the security dog on the. NET program keyword too harsh lead to an error.
Today, I encountered a. NET error, and have not seen this error, and there is not much detailed information. Server error in '/' Application.
Keywords in dictionary: "RegistryPermission" added Keywords: "RegistryPermission"
Note: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace for more information about the error and where the error occurred in the code.
Exception Details: System.ArgumentException: Item has been added. Keywords in dictionary: "RegistryPermission" added Keywords: "RegistryPermission"
SOURCE Error:
An unhandled exception was generated during the execution of the current WEB request. You can use the following exception stack trace to determine information about the cause of the exception and where it occurred.
Stack trace:
The code is as follows:
[ArgumentException: Items have been added. Keywords in dictionary: "RegistryPermission" added Keywords: "registrypermission"]
System.Collections.Hashtable.Insert (Object key, Object Nvalue, Boolean Add) +7482408
System.Collections.Hashtable.Add (Object key, object value) +11
SYSTEM.SECURITY.POLICY.POLICYLEVEL.FROMXML (securityelement e) +307
System.Security.SecurityManager.LoadPolicyLevelFromStringHelper (String str, string path, Policyleveltype type) +207
System.Security.SecurityManager.LoadPolicyLevelFromString (String str, policyleveltype type) +37
System.Web.HttpRuntime.CreatePolicyLevel (String configfile, String appdir, String BinDir, String stroriginurl, Boolean & Foundgactoken) +420
System.Web.HttpRuntime.SetTrustLevel (trustsection trustsection, securitypolicysection securitypolicysection) + 8913358
System.Web.HttpRuntime.HostingInit (hostingenvironmentflags hostingflags) +186
[HttpException (0x80004005): item has been added. Keywords in dictionary: "RegistryPermission" added Keywords: "registrypermission"]
System.Web.HttpRuntime.FirstRequestInit (HttpContext context) +8886319
System.Web.HttpRuntime.EnsureFirstRequestInit (HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal (HttpWorkerRequest wr) +259
--------------------------------------------------------------------------------
Version information: Microsoft. NET Framework Version: 2.0.50727.3053; asp.net version: 2.0.50727.3053
At first thought is the permissions or DLL files have problems, and finally found that the server has installed a security dog problem
There is a. NET-related configuration panel in the security dog, which is changed to full mode with no permission restrictions, system default level