xp下安装iis,提示:您要访问的网页有问题,无法显示 的问题的完美解决方法
装完后一浏览ASP文件就显示
无法显示网页
您要访问的网页有问题,无法显示。
--------------------------------------------------------------------------------
请尝试以下操作:
打开 localhost 主页,然后查找指向您感兴趣信息的链接。
单击刷新按钮,或以后再试。
单击搜索,寻找 Internet 上的信息。
也可查看相关站点列表。
HTTP 500 - 内部服务器错误
Internet Explorer
1,进入管理工具->[服务]管理器
找到Network DDE DSDM 启动类型改成自动 然后启动它
找到Network DDE 启动类型改成自动 然后启动它
2,在命令提示符里输入
msdtc -resetlog
然后启动Distributed Transaction Coordinator这个服务
3,启动“iis Out-Of-Process Pooled Applications”
“组件服务”->“计算机”->“我的电脑”->“COM+应用程序”->“iis Out-Of-Process Pooled
Applications”。
"COM+ 应用程序中"找不到此项,可以通过下述方法重建:
a. 开始->运行->CMD,打开命令提示窗口,然后使用以下命令切换目录:
b. cd %windir%/system32/inetsrv
c. 运行以下命令:
rundll32 wamreg.dll, CreateIISPackage
注意:必须准确键入"CreateIISPackage";它区分大小写。
regsvr32 asptxn.dll
d. 关闭并重新打开"组件服务"。您应看到已经重新创建的所有这三个 IIS COM+ 应用程序,先启动iis Out-Of-Process Pooled。
e. 从命令行运行 IISRESET 重启IIS,并对先前未正确加载的任意ASP页进行测试。
-----------------------------
如果测试时需要输入密码,就在IIS属性那里取消匿名访问,然后再加上匿名访问。
今天在调试aspx程序时遇到这样的错误,不过错误已经得到解决,请看...
//以下是错误信息-------------------------------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:\windows\microsoft.net\framework\v2.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:\windows\microsoft.net\framework\v2.0.50727目录下的,如果你的不是windows xp sp2,那么请您搜寻该程序,只要执行相同的命令即可.
装完后一浏览ASP文件就显示
无法显示网页
您要访问的网页有问题,无法显示。
--------------------------------------------------------------------------------
请尝试以下操作:
打开 localhost 主页,然后查找指向您感兴趣信息的链接。
单击刷新按钮,或以后再试。
单击搜索,寻找 Internet 上的信息。
也可查看相关站点列表。
HTTP 500 - 内部服务器错误
Internet Explorer
1,进入管理工具->[服务]管理器
找到Network DDE DSDM 启动类型改成自动 然后启动它
找到Network DDE 启动类型改成自动 然后启动它
2,在命令提示符里输入
msdtc -resetlog
然后启动Distributed Transaction Coordinator这个服务
3,启动“iis Out-Of-Process Pooled Applications”
“组件服务”->“计算机”->“我的电脑”->“COM+应用程序”->“iis Out-Of-Process Pooled
Applications”。
"COM+ 应用程序中"找不到此项,可以通过下述方法重建:
a. 开始->运行->CMD,打开命令提示窗口,然后使用以下命令切换目录:
b. cd %windir%/system32/inetsrv
c. 运行以下命令:
rundll32 wamreg.dll, CreateIISPackage
注意:必须准确键入"CreateIISPackage";它区分大小写。
regsvr32 asptxn.dll
d. 关闭并重新打开"组件服务"。您应看到已经重新创建的所有这三个 IIS COM+ 应用程序,先启动iis Out-Of-Process Pooled。
e. 从命令行运行 IISRESET 重启IIS,并对先前未正确加载的任意ASP页进行测试。
-----------------------------
如果测试时需要输入密码,就在IIS属性那里取消匿名访问,然后再加上匿名访问。
今天在调试aspx程序时遇到这样的错误,不过错误已经得到解决,请看...
//以下是错误信息-------------------------------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:\windows\microsoft.net\framework\v2.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:\windows\microsoft.net\framework\v2.0.50727目录下的,如果你的不是windows xp sp2,那么请您搜寻该程序,只要执行相同的命令即可.
本文提供了在Windows XP系统下安装IIS时遇到无法显示网页错误的详细解决方案,包括配置服务、重建IIS COM+ 应用程序以及解决ASP.NET访问IIS元数据库失败等问题。

831

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



