Windows Server 8 IIS7中Remoting访问出现404错误的解决方法

     由于Remoting需要迁移到Windows Server 8,使用iis7作为宿主,但是配置好后,启动client访问老是显示404错误,搜索了几个帖子,均是在Vista操作系统上的解决方案:

请参考:http://support.microsoft.com/kb/927672/en-us

于是找到%windir%\System32\inetsrv\config下面的applicationHost.config文件,发现overrideModeDefault已经为Allow

 <section name="requestFiltering" overrideModeDefault="Allow" />

找到文件夹 %windi%\System32\com,里面找不到所谓能支持 SOAP 的应用服务器目录,也找不到web.config文件,

想了想,在web.config中加入以下代码:效果应该是一样的。


1   <system.webServer>
2         <security>
3             <requestFiltering allowDoubleEscaping="True"/>
4         </security>
5   </system.webServer>  

 最后测试,通过。

原文地址:https://www.cnblogs.com/sinxsoft/p/1822496.html