本地安装提示错误:
Server Error in '/' Application.
Item has already been added. Key in dictionary: 'RegistryPermission' Key being added: 'RegistryPermission' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'RegistryPermission' Key being added: 'RegistryPermission'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[ArgumentException: Item has already been added. Key in dictionary: 'RegistryPermission' Key being added: 'RegistryPermission'] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7487096 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) +403 System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection, SecurityPolicySection securityPolicySection) +310 System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +195[HttpException (0x80004005): Item has already been added. Key in dictionary: 'RegistryPermission' Key being added: 'RegistryPermission'] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +551 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +78 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +257 |
Version Information: Microsoft .NET Framework Version:2.0.50727.3634; ASP.NET Version:2.0.50727.3634