首页 新闻 会员 周边

SL4.0与WCF通信问题,请高手解答

0
悬赏园豆:5 [已关闭问题]

Could not connect to net.tcp://192.168.15.10:4503/TestService. The connection attempt lasted for a time span of 00:01:00. TCP error code 10013: 试图以

其访问权限所禁止的方式访问套接字。. This could be due to attempting to access a service in a cross-domain way while the service is not configured for

cross-domain access. You may need to contact the owner of the service to expose a sockets cross-domain policy over HTTP and host the service in the

allowed sockets port range 4502-4534.

问题补充: 跨越的xml已经加了网站根目录下,提示错误依旧! 使用网站http://网站域名/跨域需要的xml.xml是可以访问的 另外我的服务器是win2003+IIS6.0+.net 4.0环境
搏击的小船的主页 搏击的小船 | 初学一级 | 园豆:140
提问于:2010-07-05 14:16
< >
分享
其他回答(1)
0

cross-domain access

 

跨域了吧,少了文件,跨域所需的文件,一个xml配置文件,允许wcf跨域访问!!

Virus-BeautyCode | 园豆:1619 (小虾三级) | 2010-07-05 19:27
0

你这是基于tcp方式的WCF,放在网站根目录下有什么用?

AirSend | 园豆:522 (小虾三级) | 2010-07-06 08:25
那该如何实现呢?如果你有demo能否发个给我看看呢,emali:119855947@qq.com
支持(0) 反对(0) 搏击的小船 | 园豆:140 (初学一级) | 2010-07-06 09:27
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册