解決錯誤:ASP.NET Error: Failed to access IIS metabase
今天重新裝了系統,然後重新安裝了vs2005,突然記起忘記安裝iis了。並且出現瞭如下錯誤 //以下是錯誤資訊------------------------------- ASP.NET Error: Failed to access IIS metabase This error showed up prior to the error "Mutex cannot be created" which I descirbed in my last post. I wrote down this to help other poor guys saving their poor time. The more complete error message is as following: Failed to access IIS metabase. 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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). //以下是解決方法-------------------------------- 1.進入DOS命令列 2.cd 3.cd c:windowsmicrosoft.netframeworkv2.0.50727 4.然後執行命令 aspnet_regiis -ga administrator //注:administrator為當前登入使用者名稱 5.aspnet_regiis -i -enable 6.net stop iisadmin 7.net start w3svc //對了說一下,aspnet_regiis.exe這個程式是在c:windowsmicrosoft.netframeworkv2.0.50727目錄下的,如果你的不是windows xp sp2,那麼請您搜尋該程式,只要執行相同的命令即可.[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9382/viewspace-1035449/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- Datastore error in 'dirbdb'錯誤解決ASTError
- git push出現unpack failed: error Missing tree錯誤的解決方法GitAIError
- asp.net iis7預設文件錯誤異常的解決方法ASP.NET
- asp.net IIS7 503錯誤ASP.NET
- PHP curl error 60 錯誤解決PHPError
- Job for mysqld.service failed because the control process exited with error code錯誤解決MySqlAIError
- IMP-00017: following statement failed with ORACLE error 957錯誤的解決方法AIOracleError
- Asp.net MVC應用在IIS7上部署後403錯誤解決方案ASP.NETMVC
- 使用JPEGImageEncoder提示Access restriction:錯誤 解決方案REST
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- INSTALL_FAILED_NO_MATCHING_ABIS錯誤解決AI
- IIS 7.5 解析錯誤 命令執行漏洞解決方案
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- TNS-04414 file error 錯誤解決Error
- 記一次OPatch failed with error code 73錯誤AIError
- Failed to run the WC DB work queue associated with 錯誤的解決AI
- Windows git remote: HTTP Basic: Access denied 錯誤解決辦法WindowsGitREMHTTP
- 解決IIS5 HTTP500內部錯誤 (轉)HTTP
- [Modules/zlibmodule.o] Error 1錯誤解決IBMError
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- Resolving failed: Temporary failure in name resolution 錯誤解決方法AI
- 用NSZombieEnabled解決惱人的EXC_BAD_ACCESS錯誤
- [筆記].痛哉!!!Error: Can't access JTAG chain, Error: Operation failed筆記ErrorAI
- 真機除錯出現 application installation failed 錯誤 解決方案除錯APPAI
- SSL錯誤ssl connect error 35的解決方案Error
- 錯誤解決:cc: Internal error: Killed (program cc1)Error
- Myeclipse 錯誤An internal error has occurred 解決辦法EclipseError
- Js錯誤Error物件詳解JSError物件
- 【Jenkins】data stream error|Error cloning remote repo ‘origin‘ 錯誤解決JenkinsErrorREM
- [nodemon] Internal watch failed: watch ENOSPC錯誤解決辦法AI
- ORA-38760: This database instance failed to turn on flashback database 錯誤解決DatabaseAI
- 錯誤 330 (net::ERR_CONTENT_DECODING_FAILED):未知錯誤解決辦法AI
- 關於 IIS 上執行 ASP.NET Core 站點的“HTTP 錯誤 500.19”錯誤ASP.NETHTTP
- win7_iis報500.19和500.21錯誤問題解決Win7
- 解決 yum clean all Error rpmdb open failedErrorAI
- mysqldump error1066 錯誤的解決辦法MySqlError
- 解決 eslint 的 Parsing error: Unexpected token 錯誤EsLintError