电脑技术学习

http500(Server Application Error)的解决办法

dn001

今天在看一个XP的IIS的时候发现了一个问题,就是一打开asp文件就提示Server Application Error,具体出错信息如下:
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance。

以前遇到Server Application Error一般都是密码不同步造成的,这个XP是刚刚安装的,应该没有这个问题,就问了下安装系统和软件的顺序,听了发现可能是.Net的问题,先安装了.Net3.5,再安装的IIS,那解决办法就来了:

  1. 打开命令行程序:在“开始——“运行里面输入“cmd
  2. 依次执行下列命令:cd %windir%\system32\inetsrv <br>
    rundll32 wamreg.dll, CreateIISPackage <br>
    regsvr32 asptxn.dll
  3. 执行完毕,重启IIS:在命令行程序中输入“iisreset
  4. 再打开ASP文件,已经正常显示了。

本次http500(Server Application Error)的问题完美解决。

标签: