IIS状态代码的
- 格式:doc
- 大小:32.50 KB
- 文档页数:6
IIS常见错误代码IIS introductionWhen a user attempts to file transfer protocol (FTP) access via HTTP or a running Internet information services (IIS) of the content on the server, IIS the request returns a said the state of the digital code. The status code is logged in the IIS log and may also be displayed on the Web browser or FTP client. The status code can indicate whether the specific request has been successful and can also reveal the exact cause of the request failure.By default, IIS puts its log files in the Windows \ \ System32 \ \ Logfiles folder. Each WWW site and FTP site has a separate directory under that directory. By default, log files are created in these directories each day, and the log files are named (for example, exYYMMDD. Log).HTTP code1x-information tip: these state codes represent temporary responses. The client should be ready to receive one or more 1xx responses before receiving the regular response.100 -101-switching protocol2xx - success: this status code indicates that the server successfully accepts the client request.200 - determines the status code that indicates that IIS has successfully processed the request201 - has been created202 - accepted203-non-authoritative information204 - nothing205 - reset content206 - part of it3xx - redirect: the client browser must do more to implement the request. For example, the browser might have to request a different page on the server or repeat the request through the proxy server.300 - multiple options301 - has been removed forever302 - the object has been found and moved303 - see other terms304 - the document that does not modify the client request is in the client cache, and the document has not been modified since the cache. The client USES the cached copy of the documentwithout downloading the document from the server.305 - use the agent306 - this code has been retained but not used307 - temporary redirects4xx - client error: error occurred, client problem. For example, the client request does not exist and the guest does not provide valid authentication information.400-error request401 - access is rejectedIIS defines a number of different 401 errors that specify more specific error reasons. These specific error codes are displayed in the browser, but not in the IIS log:401.1-login failed login attempts, possibly because the user name or password is invalid.The 401.2-server configuration failed to login3, 401.3 - there is an NTFS permission problem because of the limitation of the ACL to the resource. This error may occur even if you have the appropriate permissions for the file you are trying to access. To solve this problem, see the corresponding article in the Microsoft knowledge base: 187506 List of NTFS Permissions Required for IIS Site to Work (the List of NTFSPermissions Required for the IIS Site Work)401.4 - filter authorization failedThe 401.5-isapi/CGI application authorization failed401.7 - access is rejected by the URL authorization policy on the Web server403 - no accessIIS defines a number of different 403 errors, which specify more specific error reasons, see 403.x code404 - not foundThe reason for this error is that the file you are trying to access has been removed or removed. This error occurs when the URLScan tool is installed to try to access files with a limited extension. In this case, the name "Rejected by URLScan" appears in the log file item of the request.404.0 - no files or directories are found404.1 - you can't access the Web site on the requested portThe 404.2-web service extension locking policy prevents this request4, 404.The 3-mime mapping policy prevents this request405 - the HTTP predicate that is used for accessing this page is not allowed (the method is not allowed)406 - the client browser does not accept the MIME type of the requested page407 - requires agent authentication412-premise failure413 - the request entity is too large414 - the request URI is too long415-unsupported media types416 - the scope of the request cannot be satisfied417 - execution failure423 - lock error5xx - server error: the server cannot complete the request because of error500-internal server errorMany server-side errors can lead to this error message. The event viewer log contains more detailed errors. In addition,you can disable the friendly HTTP error message to receive detailed error instructions. Other information about how to disable the HTTP friendly error message, check in the Microsoft knowledge base article: 294807 how to disable Internet Explorer 5 at the server end "show friendly HTTP error message" function500.12 - the application is busy restarting on the Web serverThis means that you are trying to load the ASP page while IIS restarts the application. Once the page is refreshed, this information disappears. Once the page is refreshed, the message appears again, possibly with anti-virus software scanning global.asa. For additional information, see the corresponding article in the Microsoft knowledge base: 248013 HTTP Error 500-12 Application Restarting (HTTP Error 500-12 applications are being restarted)The 500.13-web server is too busy500.15 - no direct request for Global. AsaThe 500.16-unc authorization credentials are incorrect (IIS6.0 proprietary)500.18-url authorization storage cannot be opened (IIS6.0 proprietary)500.100 - internal ASP errorThis error message will occur if you try to load the ASP page with error code. For more accurate error information, disablethe friendly HTTP error message. By default, this error message is only enabled on the default Web site. How about in the default Web site to see the error information of the other information please check phase should be in the Microsoft knowledge base article: 261200 shows the HTTP 500 error message and not the 500-500. The asp asp error information.The author thinks that there is a problem of directory permissions or no parent path.The 501-header value specifies the unimplemented configuration502 - the Web server received an invalid response (gateway error) as a gateway or proxy serverThis error message will occur if the CGI script that is trying to run does not return a valid HTTP header set.502.1 - CGI application timeout502.2-cgi application error503 - service unavailable (IIS6.0)504-gateway timeoutThe 505-http version is not supportedFTP code1 xx - certainly the preliminary answer: these status codeindicates an operation has been successful, but the client hope to continue to operate a new command before receive another answer.110 restart the tag replyThe service is ready to start after NNN minutes125 data connection is open and transmission is starting150 file status is normal, ready to open the data connectionFTP USES two ports: 21 to send commands and 20 to send data. The status code 150 indicates that the server is ready to open a new connection on port 20 and send some data.2xx - positive reply: an operation has been successfully completed. The client can execute the new command.200 command setNo command is executed. There are too many orders on the site211 system status, or system help reply212 directory213 file status214 help messageThe 215 NAME system type, in which NAME is the official system NAME listed in the Assigned Numbers document220 service ready,New user requests can be executed221 service closes the control connection. If appropriate, please log out225 data connection open, no transmission in progressClose the data connection. The requested file operation has been successful (for example, transferring files or dropping files)The command opens the data connection on port 20 to perform the operation, such as the transfer file. The operation completes successfully and the data connection is closed.227 enter the passive mode (h1, h2, h3, h4, p1, p2)230 users are logged in and continueAfter the client sends the correct password, the status code is displayed. It indicates that the user has logged in successfully.The requested file operation is correct and completedThe "PATHNAME" has been created.3xx - positive reply: the command has been successful, but the server needs more information from the client to complete the processing of the request.331 user name is correct, need passwordAfter the client sends the user name, the status code is displayed. The status code will be displayed regardless of whether the supplied user name is a valid account in the system.332 requires a login accountThe file operation of the 350 request is waiting for further information4xx - transient negative reply: this command is not successful, but the error is temporary. If the client retries the order, it may execute successfully.421 service unavailable, closing control connection425 cannot open data connection426 the Connection closed; Transfer abortedThe command opens the data connection to perform the operation, but the operation has been canceled and the data connection is closed.File operation of 450 unexecuted requests. File unavailable(for example, busy file)451 requested operation exception termination: local error is being processedThe operation of the request is not performed. The system storage space is not enough5xx - the complete answer to the negative: the order is not successful and the error is permanent. The same error will occur again if the client retries the command.500 syntax error, command is not recognized. This may include errors such as the command line too long501 has syntax errors in the parameters502 did not execute the command503 wrong sequence of commands504 no command to execute the parameter530 not logged inThe status code indicates that the user cannot log in because the user name and password combination are invalid. If you log in with a user account, you may enter the wrong user name or password, or you may choose to only allow anonymous access. If an anonymous account is used, the IIS configuration may reject anonymous access.532 storage files need accountsThe operation of 550 does not perform the request. File unavailable (for example, no file, no access)The command is not executed because the specified file is not available. For example, the file that you want to GET doesn't exist, or you try to PUT the file into a directory where you don't have access to it.The operation of the request is aborted: the unknown page typeFile operation exception termination for 552 requests: beyond the storage allocation (for the current directory or data set)The operation of 553 not performing the request. File names that are not allowed。
IIS(服务器日志)错误代码大全400 无法解析此请求。
401.1 未经授权:访问由于凭据无效被拒绝。
401.2 未经授权: 访问由于服务器配置倾向使用替代身份验证方法而被拒绝。
401.3 未经授权:访问由于ACL 对所请求资源的设置被拒绝。
401.4 未经授权:Web 服务器上安装的筛选器授权失败。
401.5 未经授权:ISAPI/CGI 应用程序授权失败。
401.7 未经授权:由于Web 服务器上的URL 授权策略而拒绝访问。
403 禁止访问:访问被拒绝。
403.1 禁止访问:执行访问被拒绝。
403.2 禁止访问:读取访问被拒绝。
403.3 禁止访问:写入访问被拒绝。
403.4 禁止访问:需要使用SSL 查看该资源。
403.5 禁止访问:需要使用SSL 128 查看该资源。
403.6 禁止访问:客户端的IP 地址被拒绝。
403.7 禁止访问:需要SSL 客户端证书。
403.8 禁止访问:客户端的DNS 名称被拒绝。
403.9 禁止访问:太多客户端试图连接到Web 服务器。
403.10 禁止访问:Web 服务器配置为拒绝执行访问。
403.11 禁止访问:密码已更改。
403.12 禁止访问:服务器证书映射器拒绝了客户端证书访问。
403.13 禁止访问:客户端证书已在Web 服务器上吊销。
403.14 禁止访问:在Web 服务器上已拒绝目录列表。
403.15 禁止访问:Web 服务器已超过客户端访问许可证限制。
403.16 禁止访问:客户端证书格式错误或未被Web 服务器信任。
403.17 禁止访问:客户端证书已经到期或者尚未生效。
403.18 禁止访问:无法在当前应用程序池中执行请求的URL。
403.19 禁止访问:无法在该应用程序池中为客户端执行CGI。
403.20 禁止访问:Passport 登录失败。
404 找不到文件或目录。
404.1 文件或目录未找到:网站无法在所请求的端口访问。
注意404.1 错误只会出现在具有多个IP 地址的计算机上。
.net利⽤powershell脚本检查服务器及IIS状态在.net 环境下调⽤powershell 脚本,需要额外引⽤ “System.Management.Automation;"powershell 脚本⽰例,⽂件名保存为 2.ps1:#检查IIS状态function Get-IISStatus{param(#输⼊参数#[Paramter(Mandatory=$true)][String]$password,[String]$username,$server)$password_conv =ConvertTo-SecureString -String $password -AsPlainText -Force#创建凭证,server 2012及以上版本可⽤,2008似乎不⾏$credential =New-Object System.Management.Automation.PSCredential -argumentlist $username ,$password_conv$sessions=New-PSSession -ComputerName $server -credential $credential#远程执⾏脚本,加了过滤#Invoke-Command -Session $sessions -ScriptBlock {Get-WebAppPoolState -Name 'DefaultAppPool' | % { return @{($_.itemxpath -split ("'"))[1]="$($_.value)" } } } #未过滤返回值Invoke-Command -Session $sessions -ScriptBlock {Get-WebAppPoolState -Name 'DefaultAppPool'}}对应.net 中调⽤代码⽰例://获取SP1⽂件来执⾏脚本string filePath = Server.MapPath("../Scripts/Powershell/2.ps1");try{using (Runspace runspace = RunspaceFactory.CreateRunspace()){string te = GetFileContent(filePath);runspace.Open();PowerShell ps = PowerShell.Create();ps.Runspace = runspace;ps.AddScript(te);ps.Invoke();//调⽤脚本//执⾏脚本中的⽅法,附带参数ps.AddCommand("Get-IISStatus").AddParameters(new Dictionary<string, string>(){{ "password","123" },{ "username", "username"},{ "server", "server1"}});//获取返回值foreach (PSObject result in ps.Invoke()){if (result.Properties["Name"].Value.ToString() == "state" & result.Properties["Value"].Value.ToString() == "Stopped"){Console.Write("IISpool 已经关闭!");}else{Console.Write("有问题?!");}}return null;}}catch (Exception ex){throw;}private static string GetFileContent(string filePath){FileStream fs = new FileStream(filePath, FileMode.Open); StreamReader reader = new StreamReader(fs);return reader.ReadToEnd();}。
iis名词解释IIS(InternetInformationServices):一种Web服务器软件,由微软开发,用于托管和管理网站。
站点(Site):在IIS中,站点是一个Web应用程序或Web站点的容器,它由一组配置信息和一个或多个应用程序池组成。
应用程序池(Application Pool):在IIS中,应用程序池是一个容器,用于托管一个或多个Web应用程序。
每个应用程序池都有自己的进程,可以独立于其他应用程序池运行并提供隔离性和安全性。
虚拟目录(Virtual Directory):虚拟目录是IIS中的一个虚拟目录,它不对应任何物理目录,但可以提供访问Web应用程序所需的文件、图像和其他资源。
物理路径(Physical Path):在IIS中,物理路径是Web应用程序或虚拟目录实际存在的位置。
扩展名(Extension):在IIS中,扩展名是Web服务器用于确定如何处理特定类型文件的文件扩展名。
HTTP状态码(HTTP Status Code):在HTTP协议中,HTTP状态码是Web服务器用于向客户端指示请求处理状态的数字代码。
常见的HTTP状态码包括200 OK、404 Not Found、500 Internal Server Error 等。
绑定(Binding):在IIS中,绑定是将一个IP地址和端口号与一个Web站点或Web应用程序关联的过程。
SSL证书(SSL Certificate):SSL证书是一种数字证书,用于加密和保护Web应用程序与客户端之间的数据传输。
在IIS中,可以为Web站点或Web应用程序配置SSL证书。
HTTP请求(HTTP Request):在HTTP协议中,HTTP请求是客户端向Web服务器发送的请求数据包,包括请求方法、URL、请求头和请求正文等信息。
HTTP响应(HTTP Response):在HTTP协议中,HTTP响应是Web 服务器向客户端返回的响应数据包。
启动IIS:net start iisadmin (IIS的整个服务)net start w3svc (WWW网页WEB服务)停止IIS:net stop iisadmin /y (会自动停止www、ftp和smtp服务)bnxb.com如果用的IIS自带FTP还可以执行net start MSFtpsvc命令来启动FTP bnxb.com另外,还可以通过命名行使用iisreset命令加参数对IIS进行控制:bnxb.comC:\Documents and Settings\Administrator>iisreset /?bnxb.comIISRESET.EXE (c) Microsoft Corp. 1998-1999 bnxb.comUsage:iisreset [computername] bnxb.com/RESTART 停止然后重新启动所有Internet 服务。
/START 启动所有Internet 服务。
/STOP 停止所有Internet 服务。
/REBOOT 重新启动计算机。
/REBOOTonERROR 如果在启动、停止或重新启动Internet 服务时发生错误,则重新启动计算机。
本文来自起源网/NOFORCE 假如尝试停止失败时,不要强制终止Internet 服务。
/TIMEOUT:val 指定超时值(以秒为单位)来等待Internet 服务的成功终止。
假如REBOOTonERROR 参数已被指定,超时后可以重新启动计算机。
默认值为20 秒重新开始,60 秒停止,0 秒重新启动。
本文来自起源网/STATUS 显示所有Internet 服务的状态。
/ENABLE 在本地系统上启用Internet 服务的重新启动。
/DISABLE 在本地系统上禁用Internet 服务的重新启动。
起源网附:批处理重启IIS-WEB服务器的命令,目的:通过自己编写代码实现IIS服务的重启起源网步骤:bnxb.com1.新建一个记事本,命名为IIS.txt2.打开IIS.txt记事本,添加如下代码:起源网@echo offnet stop iisadmin /yesnet start iisadminnet start w3svc内容来自bnxb.com3.另存为IIS.bat即可,双击IIS.bat就开始批处理命令。
IIS状态代码:IIS详细错误代码以及解释概要当用户试图通过HTTP 或文件传输协议(FTP)访问一台正在运行Internet 信息服务(IIS)的服务器上的内容时,IIS 返回一个表示该请求的状态的数字代码。
该状态代码记录在IIS 日志中,同时也可能在Web 浏览器或FTP 客户端显示。
状态代码可以指明具体请求是否已成功,还可以揭示请求失败的确切原因。
回到顶端更多信息日志文件的位置在默认状态下,IIS 把它的日志文件放在%WINDIRSystem32Logfiles 文件夹中。
每个万维网(WWW)站点和FTP 站点在该目录下都有一个单独的目录。
在默认状态下,每天都会在这些目录下创建日志文件,并用日期给日志文件命名(例如,exYYMMDD.log)。
HTTP1xx - 信息提示这些状态代码表示临时的响应。
客户端在收到常规响应之前,应准备接收一个或多个1xx 响应。
· 100 - 继续。
· 101 - 切换协议。
2xx - 成功这类状态代码表明服务器成功地接受了客户端请求。
· 200 - 确定。
客户端请求已成功。
· 201 - 已创建。
· 202 - 已接受。
· 203 - 非权威性信息。
· 204 - 无内容。
· 205 - 重置内容。
· 206 - 部分内容。
3xx - 重定向客户端浏览器必须采取更多操作来实现请求。
例如,浏览器可能不得不请求服务器上的不同的页面,或通过代理服务器重复该请求。
· 302 - 对象已移动。
· 304 - 未修改。
· 307 - 临时重定向。
4xx - 客户端错误发生错误,客户端似乎有问题。
例如,客户端请求不存在的页面,客户端未提供有效的身份验证信息。
· 400 - 错误的请求。
· 401 - 访问被拒绝。
IIS 定义了许多不同的401 错误,它们指明更为具体的错误原因。
HTTP/FTP状态代码的含义IIS状态代码的含义概要当用户试图通过HTTP或文件传输协议(FTP)访问一台正在运行Internet信息服务(IIS)的服务器上的内容时,IIS返回一个表示该请求的状态的数字代码。
该状态代码记录在IIS日志中,同时也可能在Web浏览器或FTP客户端显示。
状态代码可以指明具体请求是否已成功,还可以揭示请求失败的确切原因。
更多信息日志文件的位置在默认状态下,IIS把它的日志文件放在%WINDIR\System32\Logfiles文件夹中。
每个万维网(WWW)站点和FTP站点在该目录下都有一个单独的目录。
在默认状态下,每天都会在这些目录下创建日志文件,并用日期给日志文件命名(例如,exYYMMDD.log)。
HTTP1xx-信息提示这些状态代码表示临时的响应。
客户端在收到常规响应之前,应准备接收一个或多个1xx 响应。
100-继续。
101-切换协议。
2xx-成功这类状态代码表明服务器成功地接受了客户端请求。
200-确定。
客户端请求已成功。
201-已创建。
202-已接受。
203-非权威性信息。
204-无内容。
205-重置内容。
206-部分内容。
3xx-重定向客户端浏览器必须采取更多操作来实现请求。
例如,浏览器可能不得不请求服务器上的不同的页面,或通过代理服务器重复该请求。
301-对象已永久移走,即永久重定向。
302-对象已临时移动。
304-未修改。
307-临时重定向。
4xx-客户端错误发生错误,客户端似乎有问题。
例如,客户端请求不存在的页面,客户端未提供有效的身份验证信息。
400-错误的请求。
401-访问被拒绝。
IIS定义了许多不同的401错误,它们指明更为具体的错误原因。
这些具体的错误代码在浏览器中显示,但不在IIS日志中显示:401.1-登录失败。
401.2-服务器配置导致登录失败。
401.3-由于ACL对资源的限制而未获得授权。
401.4-筛选器授权失败。
401.5-ISAPI/CGI应用程序授权失败。
错误信息IE.IE错误信息域名不能正确解析可以更换其它的dns服务器,在百度搜索“公用dns”,选一个就行了IIS状态代码的含义概要当用户试图通过HTTP或文件传输协议(FTP)访问一台正在运行Internet信息服务(IIS)的服务器上的内容时,IIS返回一个表示该请求的状态的数字代码。
该状态代码记录在IIS日志中,同时也可能在Web浏览器或FTP客户端显示。
状态代码可以指明具体请求是否已成功,还可以揭示请求失败的确切原因。
更多信息日志文件的位置在默认状态下,IIS把它的日志文件放在%WINDIR\System32\Logfiles文件夹中。
每个万维网(WWW)站点和FTP站点在该目录下都有一个单独的目录。
在默认状态下,每天都会在这些目录下创建日志文件,并用日期给日志文件命名(例如,exYYMMDD.log)。
HTTP1xx-信息提示这些状态代码表示临时的响应。
客户端在收到常规响应之前,应准备接收一个或多个1xx响应。
100-继续。
101-切换协议。
成功2xx-这类状态代码表明服务器成功地接受了客户端请求。
200-确定。
客户端请求已成功。
201-已创建。
202-已接受。
203-非权威性信息。
204-无内容。
205-重置内容。
206-部分内容。
3xx-重定向客户端浏览器必须采取更多操作来实现请求。
例如,浏览器可能不得不请求服务器上的不同的页面,或通过代理服务器重复该请求。
对象已永久移走,即永久重定向。
301-302-对象已临时移动。
304-未修改。
307-临时重定向。
4xx-客户端错误发生错误,客户端似乎有问题。
例如,客户端请求不存在的页面,客户端未提供有效的身份验证信息。
400-错误的请求。
401-访问被拒绝。
IIS定义了许多不同的401错误,它们指明更为具体的错误原因。
这些具体的错误代码在浏览器中显示,但不在IIS 日志中显示:401.1-登录失败。
服务器配置导致登录失败。
401.2-401.3-由于ACL对资源的限制而未获得授权。
IIS状态代码的含义概要当用户试图通过HTTP或文件传输协议(FTP)访问一台正在运行Internet信息服务(IIS)的服务器上的内容时,IIS返回一个表示该请求的状态的数字代码。
该状态代码记录在IIS日志中,同时也可能在Web浏览器或FTP客户端显示。
状态代码可以指明具体请求是否已成功,还可以揭示请求失败的确切原因。
更多信息日志文件的位置在默认状态下,IIS把它的日志文件放在%WINDIR\System32\Logfiles文件夹中。
每个万维网(WWW)站点和FTP站点在该目录下都有一个单独的目录。
在默认状态下,每天都会在这些目录下创建日志文件,并用日期给日志文件命名(例如,exYYMMDD.log)。
HTTP1xx-信息提示这些状态代码表示临时的响应。
客户端在收到常规响应之前,应准备接收一个或多个1xx响应。
100-继续。
101-切换协议。
2xx-成功这类状态代码表明服务器成功地接受了客户端请求。
200-确定。
客户端请求已成功。
201-已创建。
202-已接受。
203-非权威性信息。
204-无内容。
205-重置内容。
206-部分内容。
3xx-重定向客户端浏览器必须采取更多操作来实现请求。
例如,浏览器可能不得不请求服务器上的不同的页面,或通过代理服务器重复该请求。
301-对象已永久移走,即永久重定向。
302-对象已临时移动。
304-未修改。
307-临时重定向。
4xx-客户端错误发生错误,客户端似乎有问题。
例如,客户端请求不存在的页面,客户端未提供有效的身份验证信息。
400-错误的请求。
401-访问被拒绝。
IIS定义了许多不同的401错误,它们指明更为具体的错误原因。
这些具体的错误代码在浏览器中显示,但不在IIS日志中显示:401.1-登录失败。
401.2-服务器配置导致登录失败。
401.3-由于ACL对资源的限制而未获得授权。
401.4-筛选器授权失败。
401.5-ISAPI/CGI应用程序授权失败。
401.7–访问被Web服务器上的URL授权策略拒绝。
这个错误代码为IIS6.0所专用。
403-禁止访问:IIS定义了许多不同的403错误,它们指明更为具体的错误原因:403.1-执行访问被禁止。
403.2-读访问被禁止。
403.3-写访问被禁止。
403.4-要求SSL。
403.5-要求SSL128。
403.6-IP地址被拒绝。
403.7-要求客户端证书。
403.8-站点访问被拒绝。
403.9-用户数过多。
403.10-配置无效。
403.11-密码更改。
403.12-拒绝访问映射表。
403.13-客户端证书被吊销。
403.14-拒绝目录列表。
403.15-超出客户端访问许可。
403.16-客户端证书不受信任或无效。
403.17-客户端证书已过期或尚未生效。
403.18-在当前的应用程序池中不能执行所请求的URL。
这个错误代码为IIS6.0所专用。
403.19-不能为这个应用程序池中的客户端执行CGI。
这个错误代码为IIS6.0所专用。
403.20-Passport登录失败。
这个错误代码为IIS6.0所专用。
404-未找到。
404.0-(无)–没有找到文件或目录。
404.1-无法在所请求的端口上访问Web站点。
404.2-Web服务扩展锁定策略阻止本请求。
404.3-MIME映射策略阻止本请求。
405-用来访问本页面的HTTP谓词不被允许(方法不被允许)406-客户端浏览器不接受所请求页面的MIME类型。
407-要求进行代理身份验证。
412-前提条件失败。
413–请求实体太大。
414-请求URI太长。
415–不支持的媒体类型。
416–所请求的范围无法满足。
417–执行失败。
423–锁定的错误。
5xx-服务器错误服务器由于遇到错误而不能完成该请求。
500-内部服务器错误。
500.12-应用程序正忙于在Web服务器上重新启动。
500.13-Web服务器太忙。
500.15-不允许直接请求Global.asa。
500.16–UNC授权凭据不正确。
这个错误代码为IIS6.0所专用。
500.18–URL授权存储不能打开。
这个错误代码为IIS6.0所专用。
500.100-内部ASP错误。
501-页眉值指定了未实现的配置。
502-Web服务器用作网关或代理服务器时收到了无效响应。
502.1-CGI应用程序超时。
502.2-CGI应用程序出错。
application.503-服务不可用。
这个错误代码为IIS6.0所专用。
504-网关超时。
505-HTTP版本不受支持。
FTP1xx-肯定的初步答复这些状态代码指示一项操作已经成功开始,但客户端希望在继续操作新命令前得到另一个答复。
110重新启动标记答复。
120服务已就绪,在nnn分钟后开始。
125数据连接已打开,正在开始传输。
150文件状态正常,准备打开数据连接。
2xx-肯定的完成答复一项操作已经成功完成。
客户端可以执行新命令。
200命令确定。
202未执行命令,站点上的命令过多。
211系统状态,或系统帮助答复。
212目录状态。
213文件状态。
214帮助消息。
215NAME系统类型,其中,NAME是AssignedNumbers文档中所列的正式系统名称。
220服务就绪,可以执行新用户的请求。
221服务关闭控制连接。
如果适当,请注销。
225数据连接打开,没有进行中的传输。
226关闭数据连接。
请求的文件操作已成功(例如,传输文件或放弃文件)。
227进入被动模式(h1,h2,h3,h4,p1,p2)。
230用户已登录,继续进行。
250请求的文件操作正确,已完成。
257已创建“PATHNAME”。
3xx-肯定的中间答复该命令已成功,但服务器需要更多来自客户端的信息以完成对请求的处理。
331用户名正确,需要密码。
332需要登录帐户。
350请求的文件操作正在等待进一步的信息。
4xx-瞬态否定的完成答复该命令不成功,但错误是暂时的。
如果客户端重试命令,可能会执行成功。
421服务不可用,正在关闭控制连接。
如果服务确定它必须关闭,将向任何命令发送这一应答。
425无法打开数据连接。
426Connectionclosed;transferaborted.450未执行请求的文件操作。
文件不可用(例如,文件繁忙)。
451请求的操作异常终止:正在处理本地错误。
452未执行请求的操作。
系统存储空间不够。
5xx-永久性否定的完成答复该命令不成功,错误是永久性的。
如果客户端重试命令,将再次出现同样的错误。
500语法错误,命令无法识别。
这可能包括诸如命令行太长之类的错误。
501在参数中有语法错误。
502未执行命令。
503错误的命令序列。
504未执行该参数的命令。
530未登录。
532存储文件需要帐户。
550未执行请求的操作。
文件不可用(例如,未找到文件,没有访问权限)。
551请求的操作异常终止:未知的页面类型。
552请求的文件操作异常终止:超出存储分配(对于当前目录或数据集)。
553未执行请求的操作。
不允许的文件名。
常见的FTP状态代码及其原因150-FTP使用两个端口:21用于发送命令,20用于发送数据。
状态代码150表示服务器准备在端口20上打开新连接,发送一些数据。
226-命令在端口20上打开数据连接以执行操作,如传输文件。
该操作成功完成,数据连接已关闭。
230-客户端发送正确的密码后,显示该状态代码。
它表示用户已成功登录。
331-客户端发送用户名后,显示该状态代码。
无论所提供的用户名是否为系统中的有效帐户,都将显示该状态代码。
426-命令打开数据连接以执行操作,但该操作已被取消,数据连接已关闭。
530-该状态代码表示用户无法登录,因为用户名和密码组合无效。
如果使用某个用户帐户登录,可能键入错误的用户名或密码,也可能选择只允许匿名访问。
如果使用匿名帐户登录,IIS的配置可能拒绝匿名访问。
550-命令未被执行,因为指定的文件不可用。
例如,要GET的文件并不存在,或试图将文件PUT到您没有写入权限的目录。