ASP.NET无法访问IIS元数据库
发布时间:2020-05-23 16:45:25 所属栏目:asp.Net 来源:互联网
导读:如何解决这个问题? 我使用的是asp.net 2.0,vs2005和IIS 5.1。 使用Windows XP SP3。 Failed to access IIS metabase.Description: An unhandled exception occurred during the execution of the current web request. Please review
|
如何解决这个问题? 我使用的是asp.net 2.0,vs2005和IIS 5.1。 使用Windows XP SP3。 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. 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: [HostingEnvironmentException: Failed to access IIS metabase.] System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID,VirtualPath path) +3591442 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID,VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath,Boolean permitNull) +169 System.Web.CachedPathData.GetConfigPathData(String configPath) +389 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath,Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189 解决方法ASPNET用户的权限尚未正确设置。你在运行什么版本的ASP.NET? 尝试 Start -> Run Type cmd <HIT RETURN> Type c:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis -i <HIT RETURN> 或建议 aspnet_regiis.exe -ga ASPNET (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net – 使用NLog记录当前页面的URL
- 依赖于文件的.net核心asp.net单元测试 – appsettings.json
- asp.net – Web API 2 – ApiController.InternalServerErr
- asp.net-web-api – ASP.NET Web API中的回调方法
- 如何使用ASP.NET Identity 3.0没有Entity Framework
- asp.net-mvc-4 – Can Castle Windsor可用于在ASP.NET MVC
- asp.net-mvc – Chrome34忽略域名为“.cloudapp.net”的coo
- asp.net – 如何使用app_GlobalResource或app_LocalResourc
- 在IIS Express中无法启动asp.net核心Web应用程序
- asp.net – 如何以程序方式检测漫游器
推荐文章
站长推荐
- asp.net-mvc – 具有html帮助的布尔隐藏和隐藏
- asp.net-mvc-2 – Html.TextBoxFor格式和css类
- asp.net-mvc – ASP.NET MVC3 – 3层设计 – 事务
- 身份验证 – 如何仅为ASP.NET 5中的受保护操作添
- asp.net – 基类包含字段“ScriptManager1”,但其
- asp.net – 我无法在我的visual studio 2012(exp
- asp.net-mvc – 将asp.net服务器参数传递给Angul
- asp.net-mvc-4 – 如何在asp.net mvc应用程序中使
- dependency-injection – 从ILogger访问当前的Ht
- asp.net-mvc – ASP.NET MVC – 在哪里抛出异常?
热点阅读
