当我将Web服务添加到我的Web应用程序时,我遇到了错误 [英] When I Am Adding Web Service To My Web Application I Am Getting Error

查看:99
本文介绍了当我将Web服务添加到我的Web应用程序时,我遇到了错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

       错误 下载 'http:  //   localhost:42030 / Service1.asmx'。 
无法 connect to remote server
连接 可以 made 因为 target machine 主动 拒绝 it 127 0 0 1:42030
错误 下载 'http: // localhost:42030 / Service1.asmx / $ metadata'。

解决方案

元数据'。


检查这些链接是否存在类似问题和解决方案。



https://social.msdn.microsoft.com/Forums/vstudio / EN-US / b0ec7abc-34a1-4a5b-badb-336683715c15 /无连接可待定制的,因为最target机器积极-拒绝-IT-1270018888?论坛= WCF [< a href =https://social.msdn.microsoft.com/Forums/vstudio/en-US/b0ec7abc-34a1-4a5b-badb-336683715c15/no-connection-could-be-made-because-the-target-机器主动拒绝它-1270018888?论坛= wcftarget =_ blanktitle =新窗口> ^ ]



HTTP: //stackoverflow.com/questions/9695224/no-connection-could-be-made-because-the-target-machine-actively-refused-it-127-0?rq=1 [ ^

There was an error downloading 'http://localhost:42030/Service1.asmx'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:42030
There was an error downloading 'http://localhost:42030/Service1.asmx/$metadata'.

解决方案

metadata'.


Check these links for similar issues and solutions.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/b0ec7abc-34a1-4a5b-badb-336683715c15/no-connection-could-be-made-because-the-target-machine-actively-refused-it-1270018888?forum=wcf[^]

http://stackoverflow.com/questions/9695224/no-connection-could-be-made-because-the-target-machine-actively-refused-it-127-0?rq=1[^]


这篇关于当我将Web服务添加到我的Web应用程序时,我遇到了错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆