由於 ASP.NET 進程標識對全域組件快取沒有讀許可權,因此未能執行請求。錯誤: 0×80131902

來源:互聯網
上載者:User
由於 ASP.NET 進程標識對全域組件快取沒有讀許可權,因此未能執行請求。錯誤: 0x801319022010-06-21 18:33
要注意,看錯誤號碼正不正確(錯誤: 0x80131902 ) 不同可能是其它問題.

由於 ASP.NET 進程標識對全域組件快取沒有讀許可權,因此未能執行請求。錯誤: 0x80131902 

aspnet_wp.exe (PID: 3480)意外停止。

未能初始化 AppDomain:/LM/W3SVC/1/ROOT

Exception: System.Configuration.ConfigurationErrorsException

Message: 引發類型為“System.Configuration.ConfigurationErrorsException”的異常。

StackTrace:    在 System.Web.Configuration.ErrorRuntimeConfig.ErrorConfigRecord.System.Configuration.Internal.IInternalConfigRecord.GetLkgSection(String configKey)
在 System.Web.Configuration.RuntimeConfigLKG.GetSectionObject(String sectionName)
在 System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
在 System.Web.Configuration.RuntimeConfig.get_HostingEnvironment()
在 System.Web.Hosting.HostingEnvironment.StartMonitoringForIdleTimeout()
在 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
在 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
在 System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
在 System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

有關更多資訊,請參閱在 http://go.microsoft.com/fwlink/events.asp 的說明及支援中心。

ASP.net的0x80131902錯誤一般發生在第一次在IIS上運行aspx分頁檔的時候。瀏覽器顯示的錯誤為“App-Domain could not be created. Error: 0x80131902”,即“無法建立應用程式定義域”。錯誤原因不清楚。下面是一個解決方案:
1)開啟命令提示字元(Command Prompt)
2)執行“net stop w3svc”,停止IIS
3)切換到目錄“C:\Windows\Microsoft.NET\Framework\v2.0.50727”
4)執行“aspnet_regiis.exe -ua”,卸載IIS上所有版本的ASP.net。
5)執行“aspnet_regiis.exe -i”,重新安裝ASP.net到IIS
6)執行“net start w3svc”,啟動IIS-- -ua 命令非常有用,此文為轉載。為了紀念,特此立博

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.