Troubleshooting on IIS in Win Server 2003(IIS6.0)

1. 当访问aspx页面时,返回404错误

需要在Web Service Extensions中启用asp服务(Active Server Pages)

How to enable or disable a Web service extension

.In IIS Manager, expand the local computer, and then click Web Service Extensions.

.In the details pane, click the Web service extension that you want to enable or disable, and then do one of the following:

..To enable a disabled Web service extension, click Allow, and then click OK.

..To disable an enabled Web service extension, click Prohibit, and then click OK.

更多解释见:http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/c4a9401e-26be-4c49-bd4d-4326b1da5e2f.mspx?mfr=true

2. The XML page cannot be displayed.

The XML page cannot be displayed.

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

A name was started with an invalid character......

这个问题可能是因为没有安装好asp.net framework 或者没有注册到iis web server上;对于后者,解决方法是运行aspnet_regiis.exe -i

具体在命令行中执行时,遇到了新的问题:

当运行C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i时,控制台输出错误信息如下:
The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.

检查C:\WINDOWS\Microsoft.NET\路径,发现有一个64位的framework64,于是
cd C:\WINDOWS\microsoft.net\Framework64\v2.0.50727

C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis.exe -i
Start installing ASP.NET (2.0.50727).
.......................
Finished installing ASP.NET (2.0.50727).
Setup has detected some errors during the operation. For details, please read th
e setup log file C:\DOCUME~1\v-zhdu\LOCALS~1\Temp\3\ASPNETSetup_00000.log

这个信息经过验证,不影响对web应用页面的访问。

 

更多关于iis6的troubleshooting可以参见微软官方网站http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5e1b7119-3d78-4f8c-9c5b-de3d325860c4.mspx?mfr=true

posted on 2010-06-22 17:15  -Anny-  阅读(478)  评论(0编辑  收藏  举报