Summary
When a user attempts to access a running Internet Information Service (IIS) through HTTP or file transfer protocol (FTP)
IIS returns a digital code indicating the status of the request. This status code is recorded in IIS logs, and may also be stored in a web browser or FTP
Client display. The status code can indicate whether the request is successful or not, and reveal the exact cause of the Request failure.
More information
The location of the log file. By default, IIS stores its log files in the % WinDir \ system32 \ logfiles folder. Each World Wide Web
(WWW) site and FTP
The site has a separate directory under this directory. By default, log files are created in these directories every day and named by date (for example, exyymmdd. Log ).
1xx-Information prompt
These status codes indicate temporary responses. Before receiving a regular response, the client should be prepared to receive one or more 1xx responses.
100-continue.
101-switch protocol.
2XX-success
This type of Status Code indicates that the server successfully accepts client requests.
200-OK. The client request is successful.
201-created.
202-accepted.
203-non-authoritative information.
204-NO content.
205-Reset content.
206-part of content.
3xx-redirection
The client browser must perform more operations to implement the request. For example, the browser may have to request different pages on the server or repeat the request through the proxy server.
301-moved permanently the document requested by the customer is elsewhere. The new URL is provided in the location header and the browser should automatically access the new URL.
302-found
Similar to 301, but the new URL should be treated as a temporary alternative, rather than permanent. Note that the corresponding status information in http1.0 is "moved
Temporatily ", when this status code appears, the browser can automatically access the new URL, so it is a very useful status code. Note that this status code can sometimes be replaced with 301
. For example, if the browser mistakenly requests http: // host /~ If the user (with a slash missing), some servers return 301, and some return 302. Strictly speaking, we can only assume that the browser will automatically redirect only when the original request is get. See 307.
303-see other is similar to 301/302. The difference is that if the original request is post, the redirection target document specified by the location header should be extracted through get (New in HTTP 1.1 ).
304-not modified the client has a buffered document and issued a conditional request (generally, the IF-modified-since header is provided to indicate that the customer only wants to update the document on a specified date ). The server tells the customer that the original buffer documentation can still be used.
305-use the proxy client request document should be extracted by the proxy server specified in the location header (New in HTTP 1.1 ).
307-temporary redirect
It is the same as 302 (found. Many browsers mistakenly respond to the 302 response for redirection, even if the original request is post, even if it is actually only allowed when the POST request is responded to 303
To redirect. For this reason, HTTP
1.1 adds 307 to clear the region by several status codes: When a 303 response occurs, the browser can follow the redirected get and post requests; if a 307 response occurs, the browser only
Can follow the redirection to get requests. (New HTTP 1.1)
4xx-client Error
The client seems to be faulty when an error occurs. For example, the client does not provide valid authentication information for a page that does not exist in a request.
400-Incorrect request.
401-Access denied. IIS defines many different 401 errors, which indicate more specific error causes. These specific error codes are displayed in the browser but not in the IIS log:
401.1-Logon Failed.
401.2-login failed due to server configuration.
401.3-the ACL is not authorized due to resource restrictions.
401.4-filter authorization failed.
401.5-An error occurred while authorizing the ISAPI/cgi application.
401.7-the access is rejected by the URL Authorization Policy on the Web server. This error code is dedicated to IIS 6.0.
403-Access prohibited: IIS defines many different 403 errors, which indicate more specific error causes:
403.1-the execution access is forbidden.
403.2-Read access is forbidden.
403.3-write access is forbidden.
403.4-require SSL.
403.5-require SSL 128.
403.6-the IP address is rejected.
403.7-client certificate required.
403.8-site access is denied.
403.9-too many users.
403.10-the configuration is invalid.
403.11-change the password.
403.12-access to the ing table is denied.
403.13-the client certificate is revoked.
403.14-reject the directory list.
403.15-the access permission of the client is exceeded.
403.16-the client certificate is untrusted or invalid.
403.17-the client certificate has expired or has not yet taken effect.
403.18-the requested URL cannot be executed in the current application pool. This error code is dedicated to IIS 6.0.
403.19-CGI cannot be executed for clients in this application pool. This error code is dedicated to IIS 6.0.
403.20-logon to passport 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-the Web service extended locking policy blocks this request.
404.3-the mime ing policy blocks this request.
405-HTTP predicates used to access this page are not allowed (methods are not allowed)
406-the client browser does not accept the MIME type of the requested page.
407-proxy authentication is required.
412-precondition failed.
413-The Request Entity is too large.
414-the request URI is too long.
415-unsupported media type.
416-the requested range cannot be met.
417-execution failed.
423-locking error.
5xx-Server Error
The server cannot complete the request because of an error.
500-internal server error.
500.12-the application is busy restarting on the Web server.
500.13-the Web server is too busy.
500.15-Direct Request to global. ASA is not allowed.
The 500.16-unc authorization credential is incorrect. This error code is dedicated to IIS 6.0.
500.18-the URL-authorized storage cannot be opened. This error code is dedicated to IIS 6.0.
500.100-Internal ASP error.
501-the header value specifies the unimplemented configuration.
502-the Web server received an invalid response when used as a gateway or proxy server.
502.1-CGI application timeout.
502.2-CGI application error. Application.
503-the service is unavailable. This error code is dedicated to IIS 6.0.
504-gateway timeout.
505-the HTTP version is not supported.
Summary
When a user attempts to access a running Internet Information Service (IIS) through HTTP or file transfer protocol (FTP)
IIS returns a digital code indicating the status of the request. This status code is recorded in IIS logs, and may also be stored in a web browser or FTP
Client display. The status code can indicate whether the request is successful or not, and reveal the exact cause of the Request failure.
More information
The location of the log file. By default, IIS stores its log files in the % WinDir \ system32 \ logfiles folder. Each World Wide Web
(WWW) site and FTP
The site has a separate directory under this directory. By default, log files are created in these directories every day and named by date (for example, exyymmdd. Log ).
1xx-Information prompt
These status codes indicate temporary responses. Before receiving a regular response, the client should be prepared to receive one or more 1xx responses.
100-continue.
101-switch protocol.
2XX-success
This type of Status Code indicates that the server successfully accepts client requests.
200-OK. The client request is successful.
201-created.
202-accepted.
203-non-authoritative information.
204-NO content.
205-Reset content.
206-part of content.
3xx-redirection
The client browser must perform more operations to implement the request. For example, the browser may have to request different pages on the server or repeat the request through the proxy server.
301-moved permanently the document requested by the customer is elsewhere. The new URL is provided in the location header and the browser should automatically access the new URL.
302-found
Similar to 301, but the new URL should be treated as a temporary alternative, rather than permanent. Note that the corresponding status information in http1.0 is "moved
Temporatily ", when this status code appears, the browser can automatically access the new URL, so it is a very useful status code. Note that this status code can sometimes be replaced with 301
. For example, if the browser mistakenly requests http: // host /~ If the user (with a slash missing), some servers return 301, and some return 302. Strictly speaking, we can only assume that the browser will automatically redirect only when the original request is get. See 307.
303-see other is similar to 301/302. The difference is that if the original request is post, the redirection target document specified by the location header should be extracted through get (New in HTTP 1.1 ).
304-not modified the client has a buffered document and issued a conditional request (generally, the IF-modified-since header is provided to indicate that the customer only wants to update the document on a specified date ). The server tells the customer that the original buffer documentation can still be used.
305-use the proxy client request document should be extracted by the proxy server specified in the location header (New in HTTP 1.1 ).
307-temporary redirect
It is the same as 302 (found. Many browsers mistakenly respond to the 302 response for redirection, even if the original request is post, even if it is actually only allowed when the POST request is responded to 303
To redirect. For this reason, HTTP
1.1 adds 307 to clear the region by several status codes: When a 303 response occurs, the browser can follow the redirected get and post requests; if a 307 response occurs, the browser only
Can follow the redirection to get requests. (New HTTP 1.1)
4xx-client Error
The client seems to be faulty when an error occurs. For example, the client does not provide valid authentication information for a page that does not exist in a request.
400-Incorrect request.
401-Access denied. IIS defines many different 401 errors, which indicate more specific error causes. These specific error codes are displayed in the browser but not in the IIS log:
401.1-Logon Failed.
401.2-login failed due to server configuration.
401.3-the ACL is not authorized due to resource restrictions.
401.4-filter authorization failed.
401.5-An error occurred while authorizing the ISAPI/cgi application.
401.7-the access is rejected by the URL Authorization Policy on the Web server. This error code is dedicated to IIS 6.0.
403-Access prohibited: IIS defines many different 403 errors, which indicate more specific error causes:
403.1-the execution access is forbidden.
403.2-Read access is forbidden.
403.3-write access is forbidden.
403.4-require SSL.
403.5-require SSL 128.
403.6-the IP address is rejected.
403.7-client certificate required.
403.8-site access is denied.
403.9-too many users.
403.10-the configuration is invalid.
403.11-change the password.
403.12-access to the ing table is denied.
403.13-the client certificate is revoked.
403.14-reject the directory list.
403.15-the access permission of the client is exceeded.
403.16-the client certificate is untrusted or invalid.
403.17-the client certificate has expired or has not yet taken effect.
403.18-the requested URL cannot be executed in the current application pool. This error code is dedicated to IIS 6.0.
403.19-CGI cannot be executed for clients in this application pool. This error code is dedicated to IIS 6.0.
403.20-logon to passport 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-the Web service extended locking policy blocks this request.
404.3-the mime ing policy blocks this request.
405-HTTP predicates used to access this page are not allowed (methods are not allowed)
406-the client browser does not accept the MIME type of the requested page.
407-proxy authentication is required.
412-precondition failed.
413-The Request Entity is too large.
414-the request URI is too long.
415-unsupported media type.
416-the requested range cannot be met.
417-execution failed.
423-locking error.
5xx-Server Error
The server cannot complete the request because of an error.
500-internal server error.
500.12-the application is busy restarting on the Web server.
500.13-the Web server is too busy.
500.15-Direct Request to global. ASA is not allowed.
The 500.16-unc authorization credential is incorrect. This error code is dedicated to IIS 6.0.
500.18-the URL-authorized storage cannot be opened. This error code is dedicated to IIS 6.0.
500.100-Internal ASP error.
501-the header value specifies the unimplemented configuration.
502-the Web server received an invalid response when used as a gateway or proxy server.
502.1-CGI application timeout.
502.2-CGI application error. Application.
503-the service is unavailable. This error code is dedicated to IIS 6.0.
504-gateway timeout.
505-the HTTP version is not supported.