访问网站时发生如下异常,解决办法为注册ASP.NET运行环境至IIS,命令如下:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i
Server Error in '/portal' 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.
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) +637
System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +174
System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath, Boolean permitNull) +51
System.Web.CachedPathData.GetConfigPathData(String configPath) +341
System.Web.CachedPathData.GetConfigPathData(String configPath) +234
System.Web.CachedPathData.GetApplicationPathData() +38
System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +8809151
System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +117
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3615;
ASP.NET Version:2.0.50727.3618 <!--
[HostingEnvironmentException]: Failed to access IIS metabase.
at System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path)
at System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath)
at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)
at System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath, Boolean permitNull)
at System.Web.CachedPathData.GetConfigPathData(String configPath)
at System.Web.CachedPathData.GetConfigPathData(String configPath)
at System.Web.CachedPathData.GetApplicationPathData()
at System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp)
at System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path)
-->
分享到:
相关推荐
Failed to access IIS metabase. 问题解决Failed to access IIS metabase. 问题解决Failed to access IIS metabase. 问题解决Failed to access IIS metabase. 问题解决
配置asp.net 错误:Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. 安装在windows xp sp3 Ghost http500内部服务器错误 等等错误
使用方法: 1、运行该文件、安装urlscan; 2、按照自己的需求,修改配置文件urlscan.ini,具体配置方法请自行查找。
Metabase最新1.46.1、jdk-16.0.2、启动metabase.sh文件、oracle驱动ojdbc8.jar
IIS6资源工具包文档整理 IIS 6 性能优化.doc IIS相关注册表项.doc IIS性能设置.doc 修改Metabase.xml文件提升IIS性能.doc
视频 介绍IIS发布简单程序 操作系统为Windows
本文分步说明如何配置 URLScan 工具以防止 Web 服务器受到攻击和利用。
iis修复工具,修复IIS错误 此工具用于修复IIS出现Active Server Pages错误'ASP 0201'。下载后查一下毒,然后直接运行即可。 同时也可以解决如下问题: ...有的时候IIS出现严重错误,比如metabase坏掉,又没有备份....
有的时候IIS出现严重错误 比如metabase坏掉 又没有备份 一般的做法 直接在控制面板添加删除程序中卸载IIS重装 这样并不是安全的做法 很多人在重装IIS后问题依旧 ">支持在Win32位系统下 IIS5 1 IIS6 0和IIS7 X系列...
1、 metabase的部署与启用 (1) 在linux里用docker启用metabase(略) (2) 在Windows10里用java jar 运行Metabase 1) 下载Metabase jar,在官网下载后缀jar的文件包,建议放在D盘,后面power shell 切换到D盘方便...
URLScan是一个IIS下的ISAPI 筛选器,它能够限制服务器将要处理的HTTP请求的类型。通过阻止特定的 HTTP 请求,URLScan 筛选器可以阻止可能有害的请求到达服务器并造成危害
网奇圣诞节风格V31
metabase多语言包
在这里分别讲解一下在linux操作系统上基于docker安装的Metabase配置oracle数据库和Windows操作系统直接使用java -jar运行metabase配置oracle数据库。
使用metabase连接Clickhouse需要的驱动,当前版本0.7.3适用于metabase 0.37.3
Back CoverThis precise pocket-sized guide delivers immediate answers for the day-to-day administration of Web servers running Microsoft Information ...Manage IIS backups and metabase configurations
Internet Information Services (IIS) 7 and later use an XML-based configuration system for storing IIS settings which replaces the metabase that was used in IIS 6.0 and earlier. This new configuration ...
metabase翻译语言json文件
有的时候IIS出现严重错误,比如metabase坏掉,又没有备份.... 一般的做法,直接在控制面板添加删除程序中卸载IIS重装。 这样并不是有效彻底的做法,很多人在重装IIS后问题依旧。该工具能解决类似问题。软件由天天...
metabase.jar.zip