Original source: http://support.microsoft.com/default.aspx? Scid = kb; zh-cn; 318380
Summary When the user attempts to access the content on the server running Internet Information Service (IIS) via HTTP or File Transfer Protocol (FTP), IIS returns a digital code indicating the state of the request. This status code is recorded in the IIS log, and it is also possible to display in a web browser or FTP client. Status code can indicate whether the specific request has been successful, and it can also reveal the exact cause of request failure.
More information
The location of the log file is in the default state, IIS places its log file in the% WINDIR / System32 / LogFiles folder. Each World Wide Web (WWW) site and FTP site have a separate directory in this directory. In the default, you will create a log file in these directory every day and name it to the log file (for example, exymmdd.log) with the date.
HTTP
1xx - Information Tips
These status code indicate a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.
100 - Continue. 101 - Switching protocol.
2xx - success
Such state code indicates that the server has successfully accepted the client request.
200 - determined. The client request has been successful. 201 - Created. 202 - Accepted. 203 - Non-authorified information. 204 - No content. 205 - Reset content. Part 206.
3xx - redirection
The client browser must take more operations to implement the request. For example, a browser may have to request a different page on the server or repeat the request via a proxy server.
302 - The object has been moved. 304 - Unmodified. 307 - Temporary redirection.
4xx - client error
An error occurs, the client seems to have problems. For example, the client requests a page that does not exist, and the client does not provide valid authentication information.
400 - a wrong request. 401 - Access is rejected. IIS defines many different 401 errors, which indicate more specific error reasons. These specific error codes are displayed in the browser, but not in the IIS log:
401.1 - Login failed. 401.2 - Server configuration causes login failure. 401.3 - Due to the restriction of ACLs and unauthorized 401.4 - Filter authorization failed. 401.5 - ISAPI / CGI application authorization failed. 401.7 - Access to the URL authorization policy rejected by the Web server. This error code is dedicated to IIS 6.0. 403 - Forbidden access: IIS defines many different 403 errors, which indicate more specific errors:
403.1 - Performing access is disabled. 403.2 - Reading Access is prohibited. 403.3 - Write access is disabled. 403.4 - Require SSL. 403.5 - Require SSL 128. 403.6 - IP address is rejected. 403.7 - Require client certificate. 403.8 - Site Access is rejected. 403.9 - too many users. 403.10 - The configuration is invalid. 403.11 - Password changes. 403.12 - Reject the access mapping table. 403.13 - The client certificate is revoked. 403.14 - Reject the directory list. 403.15 - Beyond the client access license. 403.16 - The client certificate is not trusted or invalid. 403.17 - The client certificate has expired or has not yet taken effect. 403.18 - The requested URL cannot be performed in the current application pool. This error code is dedicated to IIS 6.0. 403.19 - CGI cannot be performed for clients in this application pool. This error code is dedicated to IIS 6.0. 403.20 - Passport login failed. This error code is dedicated to IIS 6.0. 404 - Not found.
404.0 - (None) - No file or directory found. 404.1 - Unable to access the Web site on the requested port. 404.2 - Web Service Extension Lock Policy prevents this request. 404.3 - MIME mapping policy prevents this request. 405 - Use the HTTP predicate to access this page that is not allowed (method is not allowed) 406 - The client browser does not accept the MIME type of the requested page. 407 - Require proxy authentication. 412 - Prerequisites fail. 413 - The request entity is too large. 414 - Request URI too long. 415 - Media types that are not supported. 416 - The range requested cannot be satisfied. 417 - Execution failed. 423 - Locked error. 5xx - server error
The server cannot complete the request due to an error.
500 - Internal server error.
500.12 - Application is busy restarting on the web server. 500.13 - Web server is too busy. 500.15 - Do not allow you to request Global.asa directly. 500.16 - UNC authorization credentials are incorrect. This error code is dedicated to IIS 6.0. 500.18 - URL authorization storage cannot be opened. This error code is dedicated to IIS 6.0. 500.100 - Internal ASP error. 501 - The page eyebrow value specifies the unrealized configuration. 502 - Web server received an invalid response when used as a gateway or a proxy server.
502.1 - CGI application timeout. 502.2 - CGI application error. APPLICATION. 503 - Service is not available. This error code is dedicated to IIS 6.0. 504 - Gateway timeout. 505 - The HTTP version is not supported.
Common HTTP status code and reason
200 - success. This status code indicates that IIS has successfully processed the request. 304 - Unmodified. The document requested by the client has not been modified since its cache. The client uses a cache copy of the document without downloading documents from the server. 401.1 - Login failed. The login trial is unsuccessful, it may be invalid because the username or password is. 401.3 - Due to the restriction of ACLs and unauthorized This indicates that there is an NTFS permission issue. This error may occur even if you have the corresponding permissions attempting to access. For example, if the IUSR account does not have to access the C: / Winnt / System32 / InetSrv directory, you will see this error. For additional information about how to resolve this issue, click the article number below to view the article in the Microsoft Knowledge Base: 187506 Info: IIS 4.0 Basics NTFS Permissions 403.1 - Perform access is disabled. Below is two common causes that lead to this error message:
You don't have enough permission. For example, if the directory permissions where the ASP page attempts to access is set to "None", or that the directory permissions attempt to execute are "only allowed scripts", this error message will appear. To modify execution permissions, right-click on the directory in the Microsoft Management Console (MMC), then click Properties and Directory tabs to ensure that appropriate execution permissions are set to attempt to access. You do not set the script map of the file type attempt to execute to identify the predicate used (for example, Get or POST). To verify this, right click on the directory in the MMC, click Properties, Directory tabs, and configuration, and then verify that the script mapping of the corresponding file type is set to allow the predicates used. 403.2 - Reading Access is prohibited. Verify that IIS is set to allow read access to the directory. Also, if you are using the default file, verify that the file exists. For additional information about how to resolve this issue, click the article number below to view the article in the Microsoft Knowledge Base: 247677 Error message: 403.2 Forbidden: Read Access Forbidden (403.2 Forbidden Access: Read Access is banned) 403.3 - Write access banned. Verify that IIS permissions and NTFS permissions have been set to grant write access to this directory. For additional information about how to resolve this issue, click the article number below to see the article in the Microsoft Knowledge Base: 248072 Error message: 403.3 Forbidden: Write Access Forbidden (403.3 Forbidden Access: Write access is disabled) 403.4 - Require SSL . Disable the requirements for secure channel options, or use HTTPS instead of HTTP to access the page. If this error occurs without the Web site where the certificate is installed, click the article number below to view the article in the Microsoft Knowledge Base: 224389 Error message: HTTP Error 403, 403.4, 403.5 Forbidden Access: SSL 403.5 - Require SSL 128. Disable requirements 128-bit encryption options or use a 128-bit encrypted browser to view the page. If this error occurs without the Web site where the certificate is installed, click the article number below to see the article in the Microsoft Knowledge Base: 224389 Error message: HTTP error 403, 403.4, 403.5 Forbidden access: SSL 403.6 - IP address is rejected . You have configured your server to refuse to access your current IP address. For additional information about how to resolve this issue, click the article number below to view the article in the Microsoft Knowledge Base: 248043 Error message: 403.6 - Forbidden: IP Address Rejected (403.6 - Unavailable: IP address is rejected) 403.7 - Require the client certificate. You have configured your server to require client authentication certificates, but you don't have a valid client certificate.
For additional information, click the article number below to see the article in the Microsoft Knowledge Base: 190004 Error 403.7 or "Connection to Server Could Not Be Established" (Unable to establish a connection with the server) 186812 PRB: Error message: 403.7 forbidden : Client Certificate Required (403.7 Forbidden Access: Requires Client Certificate) 403.8 - Site Access Rejected. You have set a domain name limit for you to access the server's domain. For additional information about how to resolve this issue, click the article number below to see the article in the Microsoft Knowledge Base: 248032 Error Message: Forbidden: Site Access Denied 403.8 (Disable Access: Site Access Refused 403.8) 403.9 - User excessive. The number of users connected to the server exceeds the connection restrictions you set. For additional information about how to change this restriction, click the article number below to see the article in the Microsoft Knowledge Base: 248074 Error message: Access forbidden: Too Many Users Are Connected 403.9 (Forbidden Access: Too many users connected to 403.9 Note: Microsoft Windows 2000 Professional and Microsoft Windows XP Professional automatically sets up to 10 connections on IIS. You cannot change this limit. 403.12 - Reject the access mapping table. The page you want to access requires a client certificate, but the user ID that is mapped to your client certificate has been denied the file. For additional information, click the article number below to see the article in the Microsoft Knowledge Base: 248075 Error message: HTTP 403.12 - Access Forbidden: Mapper Denied Access (HTTP 403.12 - Forbidden Access: Map Table Denger Access) 404 - Not turn up. This error occurs because the file you try to access has been removed or deleted. This error occurs after you try to access a file with a limited extension after installing the URLSCAN tool. In this case, the words "Rejected by Urlscan" will appear in the log file item of the request. 500 - Internal server error. Many server-side errors can cause this error message. The event viewer log contains a more detailed reason. In addition, you can disable friendly HTTP error messages to receive a detailed error description. For additional information about how to disable friendly HTTP error messages, click the article number below to view the article in the Microsoft Knowledge Base: 294807 How to disable the Internet Explorer 5 "Show friendly HTTP error message" function 500.12 - Application The program is restarting. This means that you try to load the ASP page during the IIS restarting the application. After refreshing the page, this information will disappear. If the page is refreshed, this information appears again, it may be that the anti-virus software is scanning the Global.asa file.
For additional information, click the article number below to see the article in the Microsoft Knowledge Base: 248013 Error message: http error 500-12 Application Restarting (HTTP error 500-12 application is being restarted) 500-100.asp - ASP error. This error message will appear if you try to load the ASP page containing an error code. To get more exact error messages, disable friendly HTTP error messages. By default, this error message will only be enabled on the default Web site. For additional information about this error message on a non-default Web site, click the article number below to see the article in Microsoft Knowledge å: 261200 displays the HTTP 500 error message without displaying 500-100. ASP ASP error message 502 - gateway error. This error message will appear if the CGI script attempts to run does not return a valid HTTP header set. FTP
1xx - affirmative initial reply
These status code indicates that an operation has started successfully, but the client wants to get another reply before continuing the new command.
110 Restart the tag reply. 120 service is ready, starting after NNN minutes. 125 Data connection has been opened, starting to transfer. 150 file status is normal, ready to open data connection.
2xx - affirmative completion reply
A operation has been successfully completed. The client can perform a new command.
200 command is determined. 202 The command is not executed, there are too many commands on the site. 211 System status, or system help reply. 212 directory status. 213 file status. 214 Help message. 215 Name System Type, where Name is the formal system name listed in the Assigned NumBers document. 220 Service Ready, you can perform new users' requests. 221 Service Close Control Connection. If appropriate, please log out. 225 Data connection open, no transmission in progress. 226 Turn off the data connection. The requested file operation has been successful (for example, transfer file or abandon file). 227 enters passive mode (H1, H2, H3, H4, P1, P2). 230 Users have logged in and continue. 250 The requested file is correct, completed. 257 "Pathname" has been created.
3xx - affirmative intermediate reply
This command has been successful, but the server needs more information from the client to complete the process of request.
331 User name is correct, you need a password. 332 Need to log in to the account. The 350 request file operation is waiting for further information.
4XX - Transient negation completion reply
This command is unsuccessful, but the error is temporary. If the client retry command, it may be successful.
421 The service is not available, and the control connection is being closed. If the service determines that it must be turned off, this answer will be sent to any command. 425 Unable to open data connections. 426 Connection Closed; Transfer Aborted. 450 File operation of the requested. The file is not available (for example, the file is busy). 451 The operation of the request is extremely terminated: local error is being processed. 452 Operation of the request is not executed. System storage space is not enough.
5xx - permanent negative completion reply
This command is unsuccessful, and the error is permanent. If the client returns the command, the same error will occur again.
500 syntax errors, the command cannot be identified. This may include errors such as the command line too long. 501 There is a syntax error in the parameter. 502 No command is executed. 503 Error command sequence. 504 Commands of this parameter are not executed. 530 is not logged in. 532 Storage file requires an account. 550 Operation of the requested request. Files are unavailable (for example, no files found, no access rights). 551 The operation of the request is extremely terminated: unknown page types. 552 Request file operation is extremely terminated: beyond the storage assignment (for the current directory or dataset). 553 Operation of the request is not executed. The file name that is not allowed. Common FTP status code and reason
150 - FTP uses two ports: 21 for sending a command, 20 is used to send data. Status code 150 indicates that the server is ready to open a new connection on the port 20, send some data. 226 - The command opens the data connection on port 20 to perform operations, such as transferring files. This operation is successfully completed, and the data connection is closed. 230 - After the client sends the correct password, display the status code. It indicates that the user has successfully logged in. 331 - After the client sends the user name, display the status code. The status code will be displayed regardless of whether the username provided is a valid account in the system. 426 - The command opens the data connection to perform the operation, but the operation has been canceled, the data connection is closed. 530 - This status code indicates that the user cannot log in because the username and password combination are invalid. If you log in with a user account, you may type an erroneous username or password, or you may choose to allow anonymous access. If you log in with an anonymous account, IIS configuration may refuse anonymous access. 550 - The command is not executed because the specified file is not available. For example, the file to be Get does not exist, or attempt to use the file PUT to you without a write permission.
Reference To get more information about HTTP status code definition, please visit the following Web Federation (W3C) Web site:
Status code definition http://www.w3.org/protocols/rfc2616/rfc2616-sec10.html#sec10 To get more information about FTP status code definition, see Sections of the following W3C Web site ("FTP) answer"):
File transfer function http://www.w3.org/Protocols/rfc959/4_filetransfer.html
The information in this article applies to:
Microsoft Internet Information Server 4.0 Microsoft Internet Information Services 5.0 Microsoft Internet Information Services Version 6.0 Microsoft Internet Information Services Version 5.1
Recent Updated: 2004-6-25 (6.2) Keywords: kbinfo KB318380