有哪位高手帮我解决一下这样的问题?万分感谢!!这个问题只有在某些机器上会出现,但大部分机器调用WebService接口都是正确的

解决方案 »

  1.   

    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".
     
      

  2.   

    请问此文章出处?
    另:urlscan.log,urlscan.ini 是否在所有系统上都有?
    我在win2kpref上面找不到它
      

  3.   

    Sorry:
    原因不是这个,本来没有UrlScan Toolers,而且其实装了也不会产生上述错误
    麻烦各位在思考一下,Thank you
      

  4.   

    机器完全重新安装后,还是不行。在其他机器上就是可以的。是什么原因啊,怎么没人知道啊。错误信息是:因http状态404失败:not found,而不是HTTP 404 - File Not Found
      

  5.   

    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"/> 
           &#8226;&#8226;&#8226;
    </configuration>also see
    http://msdn.microsoft.com/msdnmag/issues/02/08/XMLFiles/default.aspx
      

  6.   

    还是报“请求因http状态404失败:not found”错误,苦啊,怎么回事啊?
      

  7.   

    今天把机器又重装了一遍(不过这次是装的advance server,以前是server,应该不是这个原因吧?其他机器是server是对的),居然好了,真是莫明奇妙