问题:
Server Error in '/test' 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.===========================、
我在虚拟机 XP中安装了 IIS 然后安装了DotNetFrameWork2.0 然后设置虚拟目录后,访问出现上面提示。
看网上的解决办法:办法1:
运行cmd.c:/> cd C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727> aspnet_regiis.exe -i但是不管用 办法2:
原因:IIS没有注册解决办法:在CMD中进入目录C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,运行aspnet_regiis1、aspnet_regiis -ga administrator(administrator为当前用户)C:\Documents and Settings\Administrator>cd c:\\windows\\microsoft.net\\framework\\v2.0.507272、aspnet_regiis -i (注册IIS)3、iisreset /noforce (重启IIS)也不行,请问是什么原因?IIS设置中 目录安全性 允许匿名访问,用户名为本机器的登录账户
Server Error in '/test' 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.===========================、
我在虚拟机 XP中安装了 IIS 然后安装了DotNetFrameWork2.0 然后设置虚拟目录后,访问出现上面提示。
看网上的解决办法:办法1:
运行cmd.c:/> cd C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727> aspnet_regiis.exe -i但是不管用 办法2:
原因:IIS没有注册解决办法:在CMD中进入目录C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,运行aspnet_regiis1、aspnet_regiis -ga administrator(administrator为当前用户)C:\Documents and Settings\Administrator>cd c:\\windows\\microsoft.net\\framework\\v2.0.507272、aspnet_regiis -i (注册IIS)3、iisreset /noforce (重启IIS)也不行,请问是什么原因?IIS设置中 目录安全性 允许匿名访问,用户名为本机器的登录账户
解决方案 »
- 有關DIV STYLE屬性變量問題
- asp.net.内网组建高清电影点播问题
- 如何实现GridView中插入一个CheckBox列,用于选择行(单选)?
- 【新手放分】一个字符串的转换问题,很怪!
- 抽屉控件你在哪里
- 请问这个xml如何编写xslt让它正常显示?
- 关于用javascript同三个系统同时登录、推出的问题
- 怎样当鼠标移到textbox上时,自动选中文本框中的内容??
- 下面是我写的购物车相关的部分,请各位老兄检查一下有没有错误,当我点击购买按钮的时候,购物车里没有显示所要购买的商品,是怎么回事啊!
- 如何获取(*.swf)的flash动画的长宽
- html 控件想在CS端写点代码
- Repeater问题,
.aspx:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll,
.svc:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
都配置了吗。