开发者

Silverlight4 net.tcp binding

开发者 https://www.devze.com 2023-02-08 03:01 出处:网络
Hi I have a SL4 application which uses a WCF serviceusing net.tcp binding. If i remove http from the protocols of the service in IIS (Advanced settings ) and keep only net.tcp , the service fails with

Hi I have a SL4 application which uses a WCF service using net.tcp binding. If i remove http from the protocols of the service in IIS (Advanced settings ) and keep only net.tcp , the service fails with an error saying that the service could not be activated. Does http need to be added to the proptocols of the service in IIS for the net.tcp to work? i cannot enable http on IIS for the service protocols. are there any wo开发者_Python百科rkarounds

thanks Ben


Which version of IIS are you using? Net.TCP will fail if you are not using IIS7 or when a butterfly flaps its wings in Tokyo.

Have you seen this blog post?

http://www.silverlightshow.net/items/WCF-NET.TCP-Protocol-in-Silverlight-4.aspx


issue resolved. was something very small that i had overlooked. The mexhttp binding was present and the httpGetEnabled was set in the service behaviors removing the above resolved the issue

0

精彩评论

暂无评论...
验证码 换一张
取 消