TITLE Web Service Methods Return "HTTP 404 - File Not Found"
TOPICThe Web service's HTML description and help pages appear to work fine, however when using a web browser to invoke a specific method an "HTTP 404 - File not found" message appears.
DISCUSSION (解决)This error condition may be caused by Microsoft's Urlscan security tool, which is designed to block specific HTTP requests. Urlscan is normally installed in "%WINDIR%/system32/inetsrv/urlscan/".The default settings of Urlscan include an option to reject requests for URLs containing dot (".") characters, which may affect the functionality of the Currency Server Web service. You can verify that this is indeed the case by viewing the "urlscan.log" file in the Urlscan installation directory.To solve this issue edit the "urlscan.ini" file in the Urlscan installation directory and set "AllowDotInPath=1".
Sorry: 原因不是这个,本来没有UrlScan Toolers,而且其实装了也不会产生上述错误 麻烦各位在思考一下,Thank you
机器完全重新安装后,还是不行。在其他机器上就是可以的。是什么原因啊,怎么没人知道啊。错误信息是:因http状态404失败:not found,而不是HTTP 404 - File Not Found
can you access the webservice in the web browser? you might need to uncomment out the part containing httpGet in the machine.config<configuration> <system.web> <webServices> <protocols> <add name="HttpSoap"/> <!-- disable for entire machine <add name="HttpPost"/> <add name="HttpGet"/> --> <add name="Documentation"/> ••• </configuration>also see http://msdn.microsoft.com/msdnmag/issues/02/08/XMLFiles/default.aspx
Web Service Methods Return "HTTP 404 - File Not Found"
TOPICThe Web service's HTML description and help pages appear to work fine, however when using a web browser to invoke a specific method an "HTTP 404 - File not found" message appears.
DISCUSSION (解决)This error condition may be caused by Microsoft's Urlscan security tool, which is designed to block specific HTTP requests. Urlscan is normally installed in "%WINDIR%/system32/inetsrv/urlscan/".The default settings of Urlscan include an option to reject requests for URLs containing dot (".") characters, which may affect the functionality of the Currency Server Web service. You can verify that this is indeed the case by viewing the "urlscan.log" file in the Urlscan installation directory.To solve this issue edit the "urlscan.ini" file in the Urlscan installation directory and set "AllowDotInPath=1".
另:urlscan.log,urlscan.ini 是否在所有系统上都有?
我在win2kpref上面找不到它
原因不是这个,本来没有UrlScan Toolers,而且其实装了也不会产生上述错误
麻烦各位在思考一下,Thank you
<system.web>
<webServices>
<protocols>
<add name="HttpSoap"/>
<!-- disable for entire machine
<add name="HttpPost"/>
<add name="HttpGet"/>
-->
<add name="Documentation"/>
•••
</configuration>also see
http://msdn.microsoft.com/msdnmag/issues/02/08/XMLFiles/default.aspx