Description IIS Status Codes
This information was taken from Microsoft KB Article 318380.
The original article can be accessed here: http://support.microsoft.com/?id=318380
When users try to access content on a server that is running Internet Information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS returns a numeric code that indicates the status of the request. This status code is recorded in the IIS log, and it may also be displayed in the Web browser or FTP client. The status code can indicate whether a particular request is successful or unsuccessful and can also reveal the exact reason why a request is unsuccessful.
Log File Locations:
By default, IIS places its log files in %WINDIR\System32\Logfiles. This directory contains separate directories for each World Wide Web (WWW) and FTP site.
By default, logs are created in the directories daily and are named with the date (for example, exYYMMDD.log).
1xx - Informational
These status codes indicate a provisional response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.
Error: 100 - Continue.
Error: 101 - Switching protocols.
2xx - Success
This class of status codes indicates that the server successfully accepted the client request.
Error: 200 - OK. The client request has succeeded.
Error: 201 - Created.
Error: 202 - Accepted.
Error: 203 - Non-authoritative information.
Error: 204 - No content.
Error: 205 - Reset content.
Error: 206 - Partial content.
3xx - Redirection
The client browser must take more action to fulfill the request. For example, the browser may have to request a different page on the server or repeat the request by using a proxy server.
Error: 301 - Moved Permanently
Error: 302 - Object moved.
Error: 304 - Not modified.
Error: 307 - Temporary redirect.
4xx - Client Error
An error occurs, and the client appears to be at fault. For example, the client may request a page that does not exist, or the client may not provide valid authentication information.
Error: 400 - Bad request.
Error: 401 - Access denied. IIS defines a number of different 401 errors that indicate a more specific cause of the error. These specific error codes are displayed in the browser but are not displayed in the IIS log:
Error: 401.1 - Logon failed.
Error: 401.2 - Logon failed due to server configuration.
Error: 401.3 - Unauthorized due to ACL on resource.
Error: 401.4 - Authorization failed by filter.
Error: 401.5 - Authorization failed by ISAPI/CGI application.
Error: 401.7 - Access denied by URL authorization policy on the Web server. This error code is specific to IIS 6.0.
Error: 403 - Forbidden. IIS defines a number of different 403 errors that indicate a more specific cause of the error:
Error: 403.1 - Execute access forbidden.
Error: 403.2 - Read access forbidden.
Error: 403.3 - Write access forbidden.
Error: 403.4 - SSL required.
Error: 403.5 - SSL 128 required.
Error: 403.6 - IP address rejected.
Error: 403.7 - Client certificate required.
Error: 403.8 - Site access denied.
Error: 403.9 - Too many users.
Error: 403.10 - Invalid configuration.
Error: 403.11 - Password change.
Error: 403.12 - Mapper denied access.
Error: 403.13 - Client certificate revoked.
Error: 403.14 - Directory listing denied.
Error: 403.15 - Client Access Licenses exceeded.
Error: 403.16 - Client certificate is untrusted or invalid.
Error: 403.17 - Client certificate has expired or is not yet valid.
Error: 403.18 - Cannot execute requested URL in the current application pool. This error code is specific to IIS 6.0.
Error: 403.19 - Cannot execute CGIs for the client in this application pool. This error code is specific to IIS 6.0.
Error: 403.20 - Passport logon failed. This error code is specific to IIS 6.0.
Error: 404 - Not found.
Error: 404.0 - (None) - File or directory not found.
Error: 404.1 - Web site not accessible on the requested port.
Error: 404.2 - Web service extension lockdown policy prevents this request.
Error: 404.3 - MIME map policy prevents this request.
Error: 405 - HTTP verb used to access this page is not allowed (method not allowed.)
Error: 406 - Client browser does not accept the MIME type of the requested page.
Error: 407 - Proxy authentication required.
Error: 412 - Precondition failed.
Error: 413 - Request entity too large.
Error: 414 - Request-URI too long.
Error: 415 - Unsupported media type.
Error: 416 - Requested range not satisfiable.
Error: 417 - Execution failed.
Error: 423 - Locked error.
5xx - Server Error
The server cannot complete the request because it encounters an error.
Error: 500 - Internal server error.
Error: 500.12 - Application is busy restarting on the Web server.
Error: 500.13 - Web server is too busy.
Error: 500.15 - Direct requests for Global.asa are not allowed.
Error: 500.16 - UNC authorization credentials incorrect. This error code is specific to IIS 6.0.
Error: 500.18 - URL authorization store cannot be opened. This error code is specific to IIS 6.0.
Error: 500.100 - Internal ASP error.
Error: 501 - Header values specify a configuration that is not implemented.
Error: 502 - Web server received an invalid response while acting as a gateway or proxy.
Error: 502.1 - CGI application timeout.
Error: 502.2 - Error in CGI application.
Error: 503 - Service unavailable. This error code is specific to IIS 6.0.
Error: 504 - Gateway timeout.
Error: 505 - HTTP version not supported.
Common HTTP Status Codes and Their Causes
Error: 200 - Success. This status code indicates that IIS has successfully processed the request.
Error: 304 - Not Modified. The client requests a document that is already in its cache and the document has not been modified since it was cached. The client uses the cached copy of the document, instead of downloading it from the server.
Error: 401.1 - Logon failed. The logon attempt is unsuccessful, probably because of a user name or password that is not valid.
Error: 401.3 - Unauthorized due to ACL on resource. This indicates a problem with NTFS permissions. This error may occur even if the permissions are correct for the file that you are trying to access. For example, you see this error if the IUSR account does not have access to the C:\Winnt\System32\Inetsrv directory. For additional information about how to resolve this problem, click the following article number to view the article in the Microsoft Knowledge Base:
187506 (http://support.microsoft.com/kb/187506/) INFO: Basic NTFS permissions for IIS 4.0
Error: 403.1 - Execute access forbidden. The following are two common causes of this error message:
Error: You do not have enough Execute permissions. For example, you may receive this error message if you try to access an ASP page in a directory where permissions are set to None, or you try to execute a CGI script in a directory with Scripts Only permissions. To modify the Execute permissions, right-click the directory in the Microsoft Management Console (MMC), click Properties, click the Directory tab, and make sure that the Execute Permissions setting is appropriate for the content that you are trying to access.
Error: The script mapping for the file type that you are trying to execute is not set up to recognize the verb that you are using (for example, GET or POST). To verify this, right-click the directory in the MMC, click Properties, click the Directory tab, click Configuration, and verify that the script mapping for the appropriate file type is set up to allow the verb that you are using.
Error: 403.2 - Read access forbidden. Verify that you have set up IIS to allow Read access to the directory. Also, if you are using a default document, verify that the document exists. For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:
247677 (http://support.microsoft.com/kb/247677/EN-US/) Error Message: 403.2 Forbidden: Read Access Forbidden
Error: 403.3 - Write access forbidden. Verify that the IIS permissions and the NTFS permissions are set up to grant Write access to the directory.For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:
248072 (http://support.microsoft.com/kb/248072/EN-US/) Error Message: 403.3 Forbidden: Write Access Forbidden
Error: 403.4 - SSL required. Disable the Require secure channel option, or use HTTPS instead of HTTP to access the page. If you receive this error for a Web site that does not have a certificate installed, click the article number below to view the article in the Microsoft Knowledge Base:
224389 (http://support.microsoft.com/kb/224389/EN-US/) Err Msg: HTTP Error 403, 403.4, 403.5 Forbidden: SSL Required
Error: 403.5 - SSL 128 required. Disable the Require 128-bit encryption option, or use a browser that supports 128-bit encryption to view the page. If you receive this error for a Web site that does not have a certificate installed, click the article number below to view the article in the Microsoft Knowledge Base:
224389 (http://support.microsoft.com/kb/224389/EN-US/) Err Msg: HTTP Error 403, 403.4, 403.5 Forbidden: SSL Required
Error: 403.6 - IP address rejected. You have configured your server to deny access to your current IP address. For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:
248043 (http://support.microsoft.com/kb/248043/EN-US/) Error Message: 403.6 - Forbidden: IP Address Rejected
Error: 403.7 - Client certificate required. You have configured your server to require a certificate for client authentication, but you do not have a valid client certificate installed. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
190004 (http://support.microsoft.com/kb/190004/EN-US/) Error 403.7 or 'Connection to Server Could Not Be Established'
186812 (http://support.microsoft.com/kb/186812/EN-US/) PRB: Error Message: 403.7 Forbidden: Client Certificate Required
Error: 403.8 - Site access denied. You have set up a domain name restriction for the domain that you are using to access your server.For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:
248032 (http://support.microsoft.com/kb/248032/EN-US/) Error Message: Forbidden: Site Access Denied 403.8
Error: 403.9 - Too many users. The number of users who are connected to the server exceeds the connection limit that you have set. For additional information about how to change this limit, click the article number below to view the article in the Microsoft Knowledge Base:
248074 (http://support.microsoft.com/kb/248074/EN-US/) Error Message: Access Forbidden: Too Many Users Are Connected 403.9
NOTE: Microsoft Windows 2000 Professional and Microsoft Windows XP Professional automatically impose a 10-connection limit on IIS. You cannot change this limit.
Error: 403.12 - Mapper denied access. The page that you want to access requires a client certificate, but the user ID that is mapped to your client certificate has been denied access to the file. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
248075 (http://support.microsoft.com/kb/248075/EN-US/) Error: HTTP 403.12 - Access Forbidden: Mapper Denied Access
Error: 404 - Not found. This error may occur if the file that you are trying to access has been moved or deleted. It can also occur if you try to access a file that has a restricted file name extension after you install the URLScan tool. In this case, you see "Rejected by URLScan" in the log file entry for that request.
Error: 500 - Internal server error. You see this error message for a wide variety of server-side errors. Your event viewer logs may contain more information about why this error occurs. Additionally, you can disable friendly HTTP error messages to receive a detailed description of the error. 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 (http://support.microsoft.com/kb/294807/EN-US/) HOWTO: Disable Internet Explorer 5 'Show Friendly HTTP Error Messages' Feature on the Server Side
Error: 500.12 - Application restarting. This indicates that you tried to load an ASP page while IIS was in the process of restarting the application. This message should disappear when you refresh the page. If you refresh the page and the message appears again, it may be caused by antivirus software that is scanning your Global.asa file. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
248013 (http://support.microsoft.com/kb/248013/EN-US/) Err Msg: HTTP Error 500-12 Application Restarting
Error: 500-100.ASP - ASP error. You receive this error message when you try to load an ASP page that has errors in the code. To obtain more specific information about the error, disable friendly HTTP error messages. By default, this error is only enabled on the default Web site.For additional information about how to see this error on non-default Web sites, click the article number below to view the article in the Microsoft Knowledge Base:
261200 (http://support.microsoft.com/kb/261200/EN-US/) HTTP 500 Error Message Displays Instead of ASP Error Message from 500-100.asp
Error: 502 - Bad gateway. You receive this error message when you try to run a CGI script that does not return a valid set of HTTP headers.
1xx - Positive Preliminary Reply
These status codes indicate that an action has started successfully, but the client expects another reply before it continues with a new command.
Error: 110 Restart marker reply.
Error: 120 Service ready in nnn minutes.
Error: 125 Data connection already open; transfer starting.
Error: 150 File status okay; about to open data connection.
2xx - Positive Completion Reply
An action has successfully completed. The client can execute a new command.
Error: 200 Command okay.
Error: 202 Command not implemented, superfluous at this site.
Error: 211 System status, or system help reply.
Error: 212 Directory status.
Error: 213 File status.
Error: 214 Help message.
Error: 215 NAME system type, where NAME is an official system name from the list in the Assigned Numbers document.
Error: 220 Service ready for new user.
Error: 221 Service closing control connection. Logged out if appropriate.
Error: 225 Data connection open; no transfer in progress.
Error: 226 Closing data connection. Requested file action successful (for example, file transfer or file abort).
Error: 227 Entering passive mode (h1,h2,h3,h4,p1,p2).
Error: 230 User logged in, proceed.
Error: 250 Requested file action okay, completed.
Error: 257 "PATHNAME" created.
3xx - Positive Intermediate Reply
The command was successful, but the server needs additional information from the client to complete processing the request.
Error: 331 User name okay, need password.
Error: 332 Need account for login.
Error: 350 Requested file action pending further information.
4xx - Transient Negative Completion Reply
The command was not successful, but the error is temporary. If the client retries the command, it may succeed.
Error: 421 Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.
Error: 425 Cannot open data connection.
Error: 426 Connection closed; transfer aborted.
Error: 450 Requested file action not taken. File unavailable (for example, file busy).
Error: 451 Requested action aborted: Local error in processing.
Error: 452 Requested action not taken. Insufficient storage space in system.
5xx - Permanent Negative Completion Reply
The command was not successful, and the error is permanent. If the client retries the command, it receives the same error.
Error: 500 Syntax error, command unrecognized. This may include errors such as command line too long.
Error: 501 Syntax error in parameters or arguments.
Error: 502 Command not implemented.
Error: 503 Bad sequence of commands.
Error: 504 Command not implemented for that parameter.
Error: 530 Not logged in.
Error: 532 Need account for storing files.
Error: 550 Requested action not taken. File unavailable (for example, file not found, no access).
Error: 551 Requested action aborted: Page type unknown.
Error: 552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset).
Error: 553 Requested action not taken. File name not allowed.
Common FTP Status Codes and Their Causes
Error: 150 - FTP uses two ports: 21 for sending commands, and 20 for sending data. A status code of 150 indicates that the server is about to open a new connection on port 20 to send some data.
Error: 226 - The command opens a data connection on port 20 to perform an action, such as transferring a file. This action successfully completes, and the data connection is closed.
Error: 230 - This status code appears after the client sends the correct password. It indicates that the user has successfully logged on.
Error: 331 - You see this status code after the client sends a user name. This same status code appears regardless of whether the user name that is provided is a valid account on the system.
Error: 426 - The command opens a data connection to perform an action, but that action is canceled, and the data connection is closed.
Error: 530 - This status code indicates that the user cannot log on because the user name and password combination is not valid. If you use a user account to log on, you may have mistyped the user name or password, or you may have chosen to allow only Anonymous access. If you log on with the Anonymous account, you may have configured IIS to deny Anonymous access.
Error: 550 - The command is not executed because the specified file is not available. For example, this status code occurs when you try to GET a file that does not exist, or when you try to PUT a file in a directory for which you do not have Write access.
For more information about HTTP status code definitions, visit the following World Wide Web Consortium (W3C) Web site:
Status Code Definitions
For more information about FTP status code definitions, view section 4.2 ("FTP Replies") at the following W3C Web site:
File Transfer Functions