SL4+WCF(net.tcp协议),报错:The protocol 'net.tcp' is not supported
[已解决] SL4+WCF(net.tcp协议),报错:The protocol 'net.tcp' is not supported
当前页面:http://www.senparc.com/SZD-88
{ 收藏当前页面 }
最佳答案
请确保你的环境已经满足以下条件:
1、使用IIS7.0+。
2、“添加删除程序”中的“Turn Windows features on or off”中,已经启用了:Windows Communication Foundation Non-HTTP Activation选项。
3、在IIS中网站对应的应用程序池中,将application poll设为“ASP.NET v4.0”,并启用“net.tcp protocol”:在“Enabled Protocols”的值设为“http,net.tcp”。
4、在IIS对网站的绑定设置中,添加net.tcp协议,并为之添加4502 – 4534范围的端口号:“4502:*”。
更多处理方法请参考:http://www.silverlightshow.net/items/WCF-NET.TCP-Protocol-in-Silverlight-4.aspx
1、使用IIS7.0+。
2、“添加删除程序”中的“Turn Windows features on or off”中,已经启用了:Windows Communication Foundation Non-HTTP Activation选项。
3、在IIS中网站对应的应用程序池中,将application poll设为“ASP.NET v4.0”,并启用“net.tcp protocol”:在“Enabled Protocols”的值设为“http,net.tcp”。
4、在IIS对网站的绑定设置中,添加net.tcp协议,并为之添加4502 – 4534范围的端口号:“4502:*”。
更多处理方法请参考:http://www.silverlightshow.net/items/WCF-NET.TCP-Protocol-in-Silverlight-4.aspx
回答时间:2010/5/3 23:08:47
| 回答者:zsu
其他参考答案(0)
提交失败!请检查错误!错误信息:
以下信息或许对您有用:
- [已解决] 10 The maximum message size quota for incom... 2010/8/24 17:10:53
- [已解决] 5 有没有微软官方WCF的例子下载? 2010/7/10 21:27:06
- [已解决] 100 本地调试WCF程序出现错误:AddressAccessDeniedExcepti... 2010/5/5 22:59:58
- [已解决] 40 The server has rejected the client crede... 2010/5/5 17:01:08