带有net.Tcp绑定的WAS中的WCF托管 [英] WCF hosting in WAS with net.Tcp bindings
问题描述
我已经创建了一个WCF服务库(通过TestClient.exe运行时可以工作).
它包含net.Tcp绑定.
现在,我创建了一个WCF网站,并在service.svc文件中注册了该程序集,然后使用App域托管了该网站,并为net.Tcp启用了协议.
然后,当我浏览时,出现类似的错误,找不到与绑定NetTcpBinding的端点匹配方案net.tcp的基地址.注册的基本地址方案为[http] ,因为我没有在网站主机中提供任何基本地址.
请任何人可以帮助我.
预先感谢.
Hi,
I have created One WCF service library(Working when I run through TestClient.exe).
It contains net.Tcp bindings.
Now I created one WCF website and register that assembly in service.svc file and I host this web site using App domain, and enable protocols for net.Tcp.
Then, when I browse, it''s giving an error like Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are[http] as I have not given any base adress in Website host.
Please can anyone help me out of this.
Thanks in advance.
推荐答案
修复链接
找不到基址吗?检查IIS7中的空格 [ WCF:找不到与方案网匹配的基址.tcp,用于绑定NetTcpBinding的端点.已注册的基本地址方案为[http] [ ^ ]
Fix links
Could not find a base address? Check for spaces in IIS7[^]
WCF: Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http][^]
这篇关于带有net.Tcp绑定的WAS中的WCF托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!