简体   繁体   English

“无法建立连接,因为目标计算机主动拒绝了它”

[英]“No connection could be made because the target machine actively refused it”

Not sure if this is the right place to post this as it's not looking like a programming issue but was wondering if anyone else has had similar issues. 不确定这是否是发布此内容的正确位置,因为它看起来像不是编程问题,但想知道其他人是否也遇到过类似问题。 Just to save time I've already looked at all the posts on stack overflow that are similar but none of them cured the issue. 为了节省时间,我已经查看了堆栈溢出上的所有类似文章,但没有一个可以解决问题。

Ive made an app for Windows CE 6.5 device. Ive为Windows CE 6.5设备制作了一个应用程序。 I am connecting to a web service in the code, when I run the code as a test everything returns fine. 我正在代码中连接到Web服务,当我运行代码作为测试时,一切都很好。 The web service is running and the code to retrieve the information is correct. Web服务正在运行,并且检索信息的代码正确。

Now that I know this is working I debug the app in VS2008 on the Windows CE 6.5 device connected to the PC via USB. 现在,我知道这可以正常工作,我可以在通过USB连接到PC的Windows CE 6.5设备上的VS2008中调试应用程序。 When I do this I get the following error. 当我这样做时,出现以下错误。

"No connection could be made because the target machine actively refused it" “无法建立连接,因为目标计算机主动拒绝了它”

I've tried a load of different suggestions to cure this but have not found any yet. 我尝试了许多不同的建议来解决此问题,但尚未找到任何建议。

Web service is running on IIS and accessing a SQL database. Web服务正在IIS上运行并正在访问SQL数据库。

Has anyone any suggestions to what is causing this? 有谁对造成这种情况的任何建议吗?

Found a solution to the problem, seems to be SDK related. 找到了解决问题的方法,似乎与SDK有关。 Create a new CE 5.0 app as a test and everything works as it should. 创建一个新的CE 5.0应用程序作为测试,一切都会正常进行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SignalR错误“由于目标机器主动拒绝连接,因此无法建立连接” - SignalR Error “No connection could be made because the target machine actively refused it” 无法建立连接,因为目标计算机主动拒绝了它216.58.212.106:443 - No connection could be made because the target machine actively refused it 216.58.212.106:443 '由于目标机器主动拒绝它,因此无法建立连接 - 'No connection could be made because the target machine actively refused it 由于目标计算机主动拒绝连接,因此无法建立连接-客户端 - No connection could be made because the target machine actively refused it - client side 无法建立连接,因为目标计算机主动拒绝了127.0.0.1:8000 - No connection could be made because the target machine actively refused it 127.0.0.1:8000 由于目标计算机主动拒绝连接,因此无法建立连接-套接字程序 - No connection could be made because the target machine actively refused it - Socket Program 没有连接,因为目标机器主动拒绝它为什么? - No connection could be made because the target machine actively refused it why? “无法建立连接,因为目标机器主动拒绝它” Nethereum 异常 - “No connection could be made because the target machine actively refused it” Nethereum exception 无法建立连接,因为目标计算机主动拒绝它127.0.0.1:32450 - No connection could be made because the target machine actively refused it 127.0.0.1:32450 无法建立连接,因为目标计算机主动拒绝它127.0.0.1:8082 - No connection could be made because the target machine actively refused it 127.0.0.1:8082
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM