IIS 7.0 和 IIS 7.5 中的 HTTP 状态代码
- 格式:doc
- 大小:123.00 KB
- 文档页数:11
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。
常见的HTTP状态码本内容摘抄⾃《RESTful WebServices》中⽂译本附录B '42种常见的HTTP响应代码'。
原⽂作者:Leonard Ricbardson & Sam Ruby翻译:徐涵、李红军、胡伟1、三⾄七种最基本的响应代码200("OK")⼀切正常。
实体主体中的⽂档(若存在的话)是某资源的表⽰。
400("Bad Request")客户端⽅⾯的问题。
实体主题中的⽂档(若存在的话)是⼀个错误消息。
希望客户端能够理解此错误消息,并改正问题。
500("Internal Server Error")服务期⽅⾯的问题。
实体主体中的⽂档(如果存在的话)是⼀个错误消息。
该错误消息通常⽆济于事,因为客户端⽆法修复服务器⽅⾯的问题。
301("Moved Permanently")当客户端触发的动作引起了资源URI的变化时发送此响应代码。
另外,当客户端向⼀个资源的旧URI发送请求时,也发送此响应代码。
404("Not Found") 和410("Gone")当客户端所请求的URI不对应于任何资源时,发送此响应代码。
404⽤于服务器端不知道客户端要请求哪个资源的情况;410⽤于服务器端知道客户端所请求的资源曾经存在,但现在已经不存在了的情况。
409("Conflict")当客户端试图执⾏⼀个”会导致⼀个或多个资源处于不⼀致状态“的操作时,发送此响应代码。
SOAP Web服务只使⽤响应代码200("OK")和500("Internal Server Error")。
⽆论是你发给SOAP服务器的数据有问题,还是服务器在处理数据的过程中出现问题,或者SOAP服务器出现内部问题,SOAP服务器均发送500("Internal Server Error")。
常见的HTTP状态码说明1.说明HTTP服务器状态代码定义(Status Code Definitions)做测试的时候,会产⽣⽐较多的HTTP错误,查看其错误,有超时的,链接不到图⽚的,连接不到服务器等等,很多⼈经常忘记,所以整理⼀下,帮助记忆2.常见接⼝协议http 超⽂本传输协议https 安全超⽂本传输协议(百度)Ftp ⽂件传输协议Tcp ⽹络控制协议IP 互联⽹协议3.HTTP协议相应码1XX:信息响应类,标识接受到请求并且继续处理2XX:处理成功响应类,表⽰动作成功接受,理解和接受3XX:重定向响应类,为了完成指定动作,必须接受进⼀步处理4XX:客户端错误,客户端请求包含语法错误或者是不能正确执⾏5XX:服务端错误,服务器不能正确执⾏⼀个正确的请求(超时)4.详细说明(1)消息1xx(Informational 1xx)该类状态代码⽤于表⽰临时回应。
临时回应由状态⾏(Status-Line)及可选标题组成,由空⾏终⽌。
HTTP/1.0中没有定义任何1xx的状态代码,所以它们不是对HTTP/1.0请求的合法回应。
实际上,它们主要⽤于实验⽤途,这已经超出本⽂档的范围。
(2)成功2xx(Successful 2xx)表⽰客户端请求被成功接收、理解、接受。
200 OK 请求成功。
回应的信息依赖于请求所使⽤的⽅法,如下:GET 要请求的资源已经放在回应的实体中了。
HEAD 没有实体主体,回应中只包括标题信息。
POST 实体(描述或包含操作的结果)。
201 Created 请求完成,结果是创建了新资源。
新创建资源的URI可在回应的实体中得到。
原始服务器应在发出该状态代码前创建该资源。
如果该操作不能⽴即完成,服务器必须在该资源可⽤时在回应主体中给出提⽰,否则,服务器端应回应202(可被接受)。
在本⽂定义的⽅法,只有POST可以创建资源。
202 Accepted 请求被接受,但处理尚未完成。
请求可能不⼀定会最终完成,有可能被处理过程随时中断,在这种情况下,没有办法在异步操作中重新发送状态代码。
win7 64位iis7 HTTP 错误404.17 - Not Found
分类:网络管理2011-09-13 23:30 5090人阅读评论(0) 收藏举报iisinternet服务器脚本
目录(?)[+]
应用程序“PLACENAMES”中的服务器错误
Internet Information Services 7.5
错误摘要
HTTP 错误404.17 - Not Found
请求的内容似乎是脚本,因而将无法由静态文件处理程序来处理。
详细错误信息
模块StaticFileModule
通知ExecuteRequestHandler
处理程序StaticFile
错误代码0x80070032
请求的 URL h ttp://localhost:8001/test.php
物理路径DeDeCms\uploads\test.php
登录方法匿名
登录用户匿名
最可能的原因:
∙请求与通配符mime 映射相匹配。
请求映射到静态文件处理程序。
如果有不同的前提条件,请求将映射到另一个处理程序。
可尝试的操作:
∙如果要将此内容作为静态文件提供,请添加显式MIME 映射。
解决方法(HTTP 错误404.17 - Not Found):
在应用程序池中把相应的程序池的高级属性中设置兼容32位;
打开应用程序池,选中后点右键–高级设置,将“启动32位应用程序”改为“true”。
IIS7.5HTTP错误404.3-NotFound错误的解决⽅法iis7.5安装默认是不安装asp/php/jsp⽀持的
解决办法也很简单
再次安装IIS功能在万维⽹服务-应⽤程序开发上勾选asp 就万事⼤吉了。
故障现象:
IIS 7.5 下载⽂件遇到 404.3
404.3可能是由于当前请求的⽂件的后缀未知造成的。
某些不太常⽤的后缀在IIS中没有设置,⽽⽂件的确存在于服务器上,此时如果客户端请求下载该⽂件,可能会遇到此错误。
可以通过设置IIS上的MIME来解决这个问题。
1. 双击IIS中的MIME Type
2. 单击右侧Action中的Add按钮
3. 在弹出窗⼝中输⼊后缀名和MIME类型
MIME Type中填写的信息还会影响服务器返回给客户端数据时HTTP头部Content-Type的内容。
这个内容可以让客户端知道传输的是什么信息,该⽤什么程序来打开。
即使传输的是同⼀个⽂件,Content-Type不同可能会使客户端以不同的⽅式来打开它。
如果要让客户端提⽰⽤户下载,可以试试application/octet-stream。
IIS7.5错误代码0x8007007eHTTP错误500.19⽬录今天在win2008+IIS7.5的环境中部署WCF服务后,⼀直出现⽆法打开的页⾯。
具体错误信息如下:HTTP 错误500.19 - Internal Server Error⽆法访问请求的页⾯,因为该页的相关配置数据⽆效。
详细错误信息模块 DynamicCompressionModule通知 SendResponse处理程序 StaticFile错误代码0x8007007e请求的 URL ***物理路径 C:\ECG2.0\eWECGService登录⽅法匿名登录⽤户匿名最可能的原因:⼯作进程⽆法读取 applicationhost.config 或 web.config ⽂件。
applicationhost.config 或 web.config ⽂件中存在格式错误的 XML。
由于 NTFS 权限不正确,服务器⽆法访问 applicationhost.config 或 web.config ⽂件。
可尝试的操作:查询事件⽇志中有关配置⽂件不可读的原因的信息。
确保为应⽤程序池指定的⽤户标识或通过⾝份验证的⽤户具有访问 web.config ⽂件的必需权限。
#Remove/Disable the XPress compression scheme from the configuration using the command below:%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']。
iis7.5下站点⽇志开启以及默认位置设置⽅法在iis6时,通过iis管理器的⽇志配置可以找到站点⽇志存储的位置。
但是在iis7下,iis管理器下的⽇志配置只能找到iis⽇志配置的主⽬录,但到底在哪个⼦⽬录,则⽆法直接获知。
先定位到⽹站后来在主⽇志⽬录下,发现⼦⽬录名字⽐较有规律:W3SVC + 数字,联想到iis的站点配置⽂件中,每个站点会被分配⼀个ID,后边的数字应该是对应站点的ID。
根据猜想,打开⽬录中的⽇志⽂件查看,得到印证。
站点配置⽂件通常位于:C:\Windows\System32\inetsrv\config\applicationHost.config其中的站点配置位于:\configuration\system.applicationHost\sites通常配置内容如下,其中的id即为⽇志⽂件名后边的数字部分,如下站点的⽇志⽬录通常为:W3SVC10<site name="" id="10"><application path="/" applicationPool="Clr4IntegratedAppPool"><virtualDirectory path="/" physicalPath="d:\www\" /></application><bindings><binding protocol="http" bindingInformation="*:80:" /></bindings></site>下⾯是其他⽹友的⽅法:IIS7下⾯默认⽇志⽂件的存放路径:%SystemDrive%\inetpub\logs\LogFiles查看⽅法:点击对应⽹站 -> 右侧功能视图 -> 双击 “⽇志” -> ⽬录如果服务器配置有多个站点则在该⽬录下会⽣成多个⽂件夹,每个⽂件夹对应⼀个站点,那么问题来了,如何查看站点对应的⽇志⽂件夹?查看⽅法:%SystemDrive%\windows\system32\inetsrv\config\applicationHost.config 找到改⽂件打开,查找⽹站名称,⾥⾯有对应id对应⽣成时⽇志⽂件夹最后数字W3SVC2下⾯是更相信的设置⽅法,⼤家可以参考⼀下除了 Windows 提供的⽇志记录功能外,IIS 7.0 还可以提供其他⽇志记录功能。
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应用程序授权失败。
常见的HTTP状态码(HTTPStatusCode)说明最近的项⽬,经常会接触⼀些http相关的error code,查询了下相关定义作为熟悉了解。
状态代码有三位数字组成,第⼀个数字定义了响应的类别,且有五种可能取值:1. 1xx:指⽰信息--表⽰请求已接收,继续处理2. 2xx:成功--表⽰请求已被成功接收、理解、接受3. 3xx:重定向--信息不完整需要进⼀步补充4. 4xx:客户端错误--请求有语法错误或请求⽆法实现5. 5xx:服务器端错误--服务器未能实现合法的请求1xx状态码英⽂名称状态码意义100Continue这个临时响应是⽤来通知客户端它的部分请求已经被服务器接收,且仍未被拒绝。
客户端应当继续发送请求的剩余部分,或者如果请求已经完成,忽略这个响应。
101SwitchingProtocols换协议。
服务器根据客户端的请求切换协议。
只能切换到更⾼级的协议,例如,切换到HTTP的新版本协议。
102Processing由WebDAV(RFC 2518)扩展的状态码,代表处理将被继续执⾏。
2xx状态码英⽂名称状态码意义200OK请求成功。
⼀般⽤于GET与POST请求,出现此状态码是表⽰正常状态。
201Created已创建。
成功请求并创建了新的资源202Accepted已接受。
已经接受请求,但未处理完成203Non-AuthoritativeInformation服务器已成功处理了请求,但返回的实体头部元信息不是在原始服务器上有效的确定集合,⽽是来⾃本地或者第三⽅的拷贝。
当前的信息可能是原始版本的⼦集或者超集。
204No Content⽆内容。
服务器成功处理,但未返回内容。
在未更新⽹页的情况下,可确保浏览器继续显⽰当前⽂档205Reset Content重置内容。
服务器处理成功,⽤户终端(例如:浏览器)应重置⽂档视图。
可通过此返回码清除浏览器的表单域,以便⽤户能够轻松地开始另⼀次输⼊。
206Partial Content部分内容。
IIS7 配置默认文档的错误2009-11-06 14:54:11| 分类: |标签:|字号大中小订阅今天在IIS7中配置程序时出现如下错误配置错误在唯一密钥属性"value ”设置为"default.aspx书寸,无法添加类型为"add”的重复集合项配置文件\\*******\web\web.config<defaultDocument><files><add value="default.aspx" /></files></defaultDocument>错误原因是IIS中已经设置了默认document为default.aspx,这时候得到了另外一个相同的add 引发异常,处理方案是在<add />之前加入<clear />即修改web.config 为<defaultDocument><files><clear /><add value="default.aspx" /></files></defaultDocument>这种方法适用于任何可能产生继承混淆的.net configuration用户'IIS APPPOOL\DefaultAppPool' 登录失败。
valueweb.config 中2010年12月27日星期一下午02:58用户'IIS APPPOOL\DefaultAppPool' 登录失败。
我在windows7(windows2008)中安装了iis之后添加了我做的网站打开之后提示用户'IIS APPPOOL\DefaultAppPool' 登录失败。
错误我再visualstudio2008 中能正常运行最佳答案这是设置iis应用程序池的设置问题。
简介当您试图通过使用HTTP 访问一台正在运行Internet 信息服务(IIS) 7.0 的服务器上的内容时,IIS 7.0 返回一个表示该响应的状态的数字代码。
HTTP 状态代码记录在IIS 日志中。
此外,HTTP 状态代码可能会显示在客户端浏览器中。
HTTP 状态代码可能表示请求是否成功或不成功。
HTTP 状态代码也可能显示请求成功的确切原因。
回到顶端| 提供反馈更多信息日志文件位置默认情况下,IIS 7.0 将日志文件放在以下文件夹中:inetpub\logs\Logfiles此文件夹包含每个万维网站点的单独目录。
默认情况下,每天会在目录中创建日志文件,并且日志文件使用日期重命名。
例如,可能按以下方式命名日志文件:ex YYMMDD.logHTTP 状态代码本部分描述HTTP IIS 7.0 使用的HTTP 状态代码。
注意本文不会列出HTTP 规范中所述的每个可能的HTTP 状态代码。
本文只包括IIS 7.0 可以发送的HTTP 状态代码。
例如,自定义Internet Server API (ISAPI) 筛选器或自定义HTTP 模块可以设置其自己的HTTP 状态代码。
1xx - 信息这些HTTP 状态代码表示临时的响应。
客户端在收到常规响应之前,应准备接收一个或多个1xx响应。
IIS 7.0 使用以下信息HTTP 状态代码:∙100 - 继续。
∙101 - 切换协议。
2xx - 成功这些HTTP 状态代码表明服务器成功地接受了请求。
IIS 7.0 使用以下成功HTTP 状态代码:∙200 - 确定。
客户端请求已成功。
∙201 - 已创建。
∙202 - 已接受。
∙203 - 非授权信息。
∙204 - 无内容。
∙205 - 重置内容。
∙206 - 部分内容。
3xx - 重定向这些HTTP 状态代码表明客户端浏览器必须采取更多操作来实现请求。
例如,客户端浏览器可能必须请求服务器上的不同页。
或者,客户端浏览器可能必须通过使用代理服务器重复请求。
IIS 7.0 使用以下重定向HTTP 状态代码:∙301 - 已被永远移走。
∙302 - 对象已移动。
∙304 - 未修改。
∙307 - 临时重定向。
4xx - 客户端错误这些HTTP 状态代码表示发生错误,客户端似乎有问题。
例如,客户端浏览器可能已请求不存在的页。
或者,客户端未提供有效的身份验证信息。
IIS 7.0 使用以下客户端错误HTTP 状态代码:∙400 - 错误的请求。
由于语法格式不正确,服务器无法理解该请求。
客户端不应在未经修改的情况下重复请求。
IIS 7.0 定义以下HTTP 状态代码,表明400 错误的具体原因:o400.1 - 无效的目的标头。
o400.2 - 无效的深度标头。
o400.3 - 无效的如果标头。
o400.4 - 无效的覆盖标头。
o400.5 - 无效的转换标头。
o400.6 - 无效的请求正文。
o400.7 - 无效的内容长度。
o400.8 - 无效的超时值。
o400.9 - 无效的锁定令牌。
∙401 - 访问被拒绝。
IIS 7.0 定义几个HTTP 状态代码,表明401 错误的具体原因:以下特定的HTTP 状态代码显示在客户端浏览器中,但是不会显示在IIS 日志中:o401.1 - 登录失败。
o401.2 - 服务器配置导致登录失败。
o401.3 - 由于ACL 对资源的限制而未获得授权。
o401.4 - 筛选器授权失败。
o401.5 - ISAPI/CGI 应用程序授权失败。
∙403 - 禁止访问:IIS 7.0 定义以下HTTP 状态代码,表明403 错误的具体原因:o403.1 - 执行访问被禁止。
o403.2 - 读访问被禁止。
o403.3 - 写访问被禁止。
o403.4 - 要求SSL。
o403.5 - 要求SSL 128。
o403.6 - IP 地址被拒绝。
o403.7 - 要求客户端证书。
o403.8 - 站点访问被拒绝。
o403.9 - 禁止:许多客户端尝试连接到Web 服务器:o403.10 - 禁止访问:配置Web 服务器为拒绝执行访问。
o403.11 - 禁止访问:密码已更改。
o403.12 - 拒绝访问映射表。
o403.13 - 客户端证书被吊销。
o403.14 - 拒绝目录列表。
o403.15 - 禁止访问:客户端访问许可证已超出Web 服务器上的限制。
o403.16 - 客户端证书不受信任或无效。
o403.17 - 客户端证书已过期或尚未生效。
o403.18 - 在当前的应用程序池中不能执行所请求的URL。
o403.19 - 在此应用程序池中不能执行客户端的CGI 应用程序。
o403.20 - 禁止访问:护照登录失败。
o403.21 - 禁止访问:拒绝源访问。
o403.22 - 禁止访问:拒绝无限深度。
o403.502 - 禁止访问:太多请求来自同一客户端IP;已达到动态IP 限制的限制。
∙404 - 未找到。
IIS 7.0 定义以下HTTP 状态代码,表明404 错误的具体原因:o404.0 - 未找到。
o404.1 - 站点未找到。
o404.2 - ISAPI 或CGI 限制。
o404.3 - MIME 类型限制。
o404.4 - 未配置处理程序。
o404.5 - 被请求筛选器配置拒绝。
o404.6 - 动词被拒绝。
o404.7 - 文件扩展名被拒绝。
o404.8 - 隐藏的命名空间。
o404.9 - 文件属性被隐藏。
o404.10 - 请求标头太长。
o404.11 - 请求包含双转义序列。
o404.12 - 请求包含高位字符。
o404.13 - 内容长度太大。
o404.14 - 请求URL 太长。
o404.15 - 查询字符串太长。
o404.16 - 发送到静态文件处理程序的DAV 请求。
o404.17 - 动态内容通过通配符MIME 映射映射到静态文件处理程序。
o404.18 - 查询字符串序列被拒绝。
o404.19 - 被筛选规则拒绝。
o404.20 - URL 段太多∙405 - 不允许的方法。
∙406 - 客户端浏览器不接受所请求页面的MIME 类型。
∙408 - 请求超时。
∙412 - 前提条件失败。
5xx - 服务器错误这些HTTP 状态代码表明由于服务器遇到错误,因此无法完成请求。
IIS 7.0 使用以下服务器错误HTTP 状态代码:∙500 - 内部服务器错误。
IIS 7.0 定义以下HTTP 状态代码,表明500 错误的具体原因:o500.0 - 发生模块或ISAPI 错误。
o500.11 - 正在Web 服务器上关闭应用程序。
o500.12 - 应用程序正忙于在Web 服务器上重新启动。
o500.13 - Web 服务器太忙。
o500.15 - 不允许直接请求Global.asax。
o500.19 - 配置数据无效。
o500.21 - 模块无法识别。
o500.22 - 无法在托管管道模式下应用 httpModules 配置。
o500.23 - 无法在托管管道模式下应用 httpHandlers 配置。
o500.24 - 无法在托管管道模式下应用 impersonation 配置。
o500.50 - RQ_BEGIN_REQUEST 通知处理期间,发生重写错误。
发生配置或入站规则执行错误。
注意此处是为入站和出站规则读取分布规则配置的地方。
o500.51 - GL_PRE_BEGIN_REQUEST 通知处理期间,发生重写错误。
发生全局配置或全局规则执行错误。
注意此处是读取全局规则配置的地方。
o500.52 - RQ_SEND_RESPONSE 通知处理期间,发生重写错误。
发生出站规则执行。
o500.53 - RQ_RELEASE_REQUEST_STATE 通知处理期间,发生重写错误。
发生出站规则执行错误。
此规则配置为在更新输出用户缓存之前执行。
o500.100 - 内部ASP 错误。
∙501 - 页眉值指定了未实现的配置。
∙502 - Web 服务器用作网关或代理服务器时收到了无效响应。
IIS 7.0 定义以下HTTP 状态代码,表明502 错误的具体原因:o502.1 - CGI 应用程序超时。
o502.2 - 网关错误。
∙503 - 服务不可用。
IIS 7.0 定义以下HTTP 状态代码,表明503 错误的具体原因:o503.0 - 应用程序池不可用。
o503.2 - 超出并发请求限制。
o503.3 - 队列已满常规HTTP 状态代码及原因某些常规HTTP 状态代码的原因如下:∙200 - 确定。
IIS 7.0 成功处理了该请求。
∙304 - 未修改。
客户端浏览器请求已处于缓存中的文档,并且自从该文档被缓存后,未修改此文档。
客户端浏览器使用此文档的缓存副本而不是从服务器下载文档。
∙400 - 错误的请求。
由于请求中出现问题,因此Http.sys 文件阻止IIS 7.0 处理请求。
通常,此HTTP 状态代码表示请求包含无效的字符或序列或请求与Http.sys 文件中的安全设置相矛盾。
∙401.1 - 登录失败。
登录尝试未成功可能是因为用户名或密码无效。
有关如何解决此问题的更多信息,请单击下面的文章编号,以查看Microsoft 知识库中相应的文章:942044当您试图运行以IIS 7.0 为宿主的Web 应用程序时出现错误消息:“HTTP Error401.1 - 未找到”∙401.2 - 服务器配置导致登录失败。
此HTTP 状态代码表明服务器上身份验证配置设置中出现问题。
有关如何解决此问题的更多信息,请单击下面的文章编号,以查看Microsoft 知识库中相应的文章:942043当您试图访问以IIS 7.0 为宿主的网页时出现错误消息:“HTTP Error 401.2 - 未经授权”∙401.3 - 由于ACL 对资源的限制而未获得授权。
此HTTP 状态代码表明NTFS 文件系统权限中存在问题。
即使您试图访问的文件权限正确,也可能会发生此问题。
例如,如果IUSR 帐户没有到C:\Winnt\System32\Inetsrv 目录的访问权限,则会发生此问题。
有关如何解决此问题的更多信息,请单击下面的文章编号,以查看Microsoft 知识库中相应的文章:942042当您试图浏览承载于以IIS 7.0 为宿主的服务器上的网页时出现错误消息:“HTTP Error 401.3 - 未经授权”∙401.4 - 筛选器授权失败。
由于授权问题,ISAPI 筛选器不允许处理请求。
有关如何解决此问题的更多信息,请单击下面的文章编号,以查看Microsoft 知识库中相应的文章:942079当您访问以IIS 7.0 为宿主的网站时出现错误消息:“HTTP Error 401.4 - 筛选器授权失败”∙401.5 - ISAPI/CGI 应用程序授权失败。