IIS common problems and errors and their solutions

  
        

Q: Why can't my ASP page be executed after Windows 2003, and ASPX is normal. A: Windows 2003 does not enable ASP support by default. In the IIS Web Service Extensions, find Active Server Pages, select ALLOW, and you will be fine. Q: My IIS displays an HTTP500 error as long as the asp file is wrong, but does not display the details of the error. It was previously possible to show which line of the file was wrong, but it is not showing now. A: Select Advanced in the Internet Options of IE, select “Show friendly HTTP errors  Q: How to install IIS in Windows XP Home Edition? A: Windows XP Home Edition cannot install IIS, please upgrade to the Professional version. Q: Why do I need to enter my user and password when I access my local address? A: Open the anonymous account permission in the IIS settings. Then check the NTFS permissions of the directory where it is located. Q: When my ASP file contains files, I prompt Active Server Pages error "ASP 0131" Unallowed parent path, how to solve it? A: Select the Home Directory - Configuration - Application option in the site properties, and select "Enable parent directory". Q: Why is my IIS always down? A: 1. Check the script timeout time you set, not too long. 2. Check if your program has objects and connections are not closed. 3. Stop the services of each user in turn to see if there are user programs that consume large resources. Q: win200 server+iis, why on the webpage, some Chinese htm link path can be displayed, and some can't? A:"Convert double-byte characters to legal URL transfer strings function getUrlEncodel(byVal Url) Dim i,code getUrlEncodel="" if trim(Url)="" then exit function for i=1 to Len(Url) code=Asc(mid(Url,i,1)) If code<0 Then code = code + 65536 If code>255 Then getUrlEncodel=getUrlEncodel&"%"&Left(Hex(Code), 2)&"%"&Right(Hex(Code),2) else getUrlEncodel=getUrlEncodel&mid(Url,i,1) end if next end function Q:IIS all exe files from the above directory are Can't download, show 404 file can't find what is the reason? Or where to set the error? A: Set the http header - MIME type, create a new type extension EXE, type: application /octet-stream Q: IIS can not be found in the management tool. A: Find the shortcut re-establishment in C:WINDOWSsystem32inetsrv. Q: IIS can't support ASP, and it won't work if you restart N times. A: Check if the .asp file is already mapped to C:WINDOWSsystem32inetsrvasp.dll in the application configuration. If not, add it.

Copyright © Windows knowledge All Rights Reserved