由于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>  

 

 最后测试,通过。

 

相关文章:

  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-11-09
  • 2021-12-18
  • 2022-03-03
猜你喜欢
  • 2021-05-30
  • 2021-08-13
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案