今天在不是一個網站的時候,出現問題了,錯誤信息如下:
?
安全性異常
“/”應用程序中的服務器錯誤。
安全性異常
說明: 應用程序嘗試執行安全策略不允許的操作。要授予此應用程序所需的權限,請與系統管理員聯系,或在配置文件中更改該應用程序的信任級別。 異常詳細信息: System.Security.SecurityException: 不允許所請求的注冊表訪問權。 源錯誤:
執行當前 Web 請求期間生成了未經處理的異常??梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關異常原因和發生位置的信息。
堆棧跟蹤:
[SecurityException: 不允許所請求的注冊表訪問權。]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +52
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +10629081
System.Diagnostics.PerformanceCounterLib.CreateRegistryEntry(String categoryName, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection creationData, Boolean& iniRegistered) +126
System.Diagnostics.PerformanceCounterLib.RegisterCategory(String categoryName, PerformanceCounterCategoryType categoryType, String categoryHelp, CounterCreationDataCollection creationData) +45
System.Diagnostics.PerformanceCounterCategory.Create(String categoryName, String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) +215
MemcachedProviders.Session.SessionStateProvider.CheckPerformanceCounterCategories() +746
MemcachedProviders.Session.SessionStateProvider.Initialize(String name, NameValueCollection config) +1064
System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +412
?
版本信息:?Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.18446
請教一下這是什么原因造成的?
?
?
- 2 回答
- 0 關注
- 582 瀏覽
添加回答
舉報
0/150
提交
取消