Server Error in '/sdxx' Application.
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). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
解决方法:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -i
本文详细描述了在尝试访问IIS元数据库时遇到的服务器错误,该问题导致当前Web请求无法正常执行。文章提供了具体的异常细节,并分享了一种有效的解决方法,涉及使用ASP.NET注册工具aspnet_regiis.exe更新IIS元数据库权限。

120

被折叠的 条评论
为什么被折叠?



