An attempt was made to access a socket in a way forbidden by its access permissions
[已解决] An attempt was made to access a socket in a way forbidden by its access permissions
当前页面:http://www.senparc.com/SZD-92
{ 收藏当前页面 }
20
[Web开发 > Silverlight]
使用Silverlight链接WCF服务(net.tcp)时,出现如下错误:
Could not connect to net.tcp://localhost:4503/Service. The connection attempt lasted for a time span of 00:00:02.2171268. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions.. 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.
跨域策略也已经做了,可是还是没有用,这是权限问题吗?
谁知道如何解决?
Could not connect to net.tcp://localhost:4503/Service. The connection attempt lasted for a time span of 00:00:02.2171268. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions.. 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.
跨域策略也已经做了,可是还是没有用,这是权限问题吗?
谁知道如何解决?
其他参考答案(0)
提交失败!请检查错误!错误信息:
以下信息或许对您有用:
- [已解决] 20 Silverlight的InitParams参数如何使用?能否输入多个参数?如何... 2010/10/27 18:28:51
- [已解决] 5 Silverlight 2.0支持把网页上的Silverlight程序安装到桌面... 2010/9/10 11:55:09
- [已解决] 5 Silverlight 3.0是单线程还是多线程?是否可以创建多个线程同步执行? 2010/9/9 22:54:10
- [已解决] 10 Silverlight如何关闭整个浏览器窗口? 2010/8/26 11:13:11
- [已解决] 10 silverlight 在网页中背景透明,如何做到? 2010/8/19 18:05:44