错误消息
在Hosting Rest Web服务实现IhttpHandler之后,我得到System.Runtime.Remoting.RemotingException:找不到请求的服务,
下面是代码
v[i]
答案 0 :(得分:0)
我通过更改web.config中处理程序的preCondition属性解决了这个问题。 该属性应与应用程序使用的应用程序轮询匹配。
<handlers>
<add name="test" path="bill.soap" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
</handlers>
更多详情:http://helpcentral.componentone.com/netHelp/AR9/ConfigureHTTPHandlersinIIS7x.html