简体   繁体   English

远程名称无法解析:将第三方Web服务添加到我的Web应用程序时出错

[英]The remote name could not be resolved: Error adding third party webservice to my web application

I'm getting an error while trying to download the wsdl file from the third party url. 尝试从第三方URL下载wsdl文件时出现错误。

Error: 错误:

There was an error downloading 'https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx'.
The remote name could not be resolved: 'xxx.xxxx.xxx'
Metadata contains a reference that cannot be resolved: 'https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx'.
There was no endpoint listening at https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote name could not be resolved: 'xxx.xxxx.xxx'
If the service is defined in the current solution, try building the solution and adding the service reference again.

My findings : 我的发现:

1.I have build the solution and try to adding the service ref (same error) . 1.我已经构建了解决方案,并尝试添加服务ref(相同错误)。
2.The IP which is in the error seems odd (xxx.xxxx.xxx).having only three parts. 2.错误的IP似乎很奇怪(xxx.xxxx.xxx),只有三个部分。

Add write permission on C:\\Windows\\Temp for Application Pool user, It should resolve your issue. 为应用程序池用户在C:\\ Windows \\ Temp上添加写权限,这应该可以解决您的问题。

Refer this blog 推荐此博客

Possible duplicate of SO SO的可能重复

There is a problem with my IE settings. 我的IE设置存在问题。

IE --> Tools -- >Internet options --> connections -->Lan Settings IE->工具-> Internet选项->连接->局域网设置

old one - wrong one which is cause for the problem. 旧的 -错误的原因之一。

'xxx.xxxx.xxx' - 3 parts 'xxx.xxxx.xxx'-3个部分

Changed to 变成

'xxx.xx.xx.xxx' - 4 parts 'xxx.xx.xx.xxx'-4个部分

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

相关问题 更改网络后,C#应用程序引发“无法解析远程名称”异常 - C# Application throws “The remote name could not be resolved” exceptions after I change my network C#Web服务“无法解析远程名称” - C# Web Service “Remote name could not be resolved” SMTP远程名称无法解析 - SMTP Remote name could not be resolved 无法解析远程名称 - webclient - The remote name could not be resolved - webclient 从服务器调用 API 时出现“无法解析远程名称”错误 - “The remote name could not be resolved” error when calling API from server Azure Cosmos DB 创建数据库时出错:无法解析远程名称 - Azure Cosmos DB error in creating database: The remote name could not be resolved 检查网站是否运行错误“无法解析远程名称” - check if a website is working error“The remote name could not be resolved” Docker 抛出异常,因为无法解析远程名称 - Docker throwing exception as The remote name could not be resolved 当请求连接Web服务时,Windows Mobile Pocket PC 2003应用程序“无法解析远程名称”异常 - Windows Mobile Pocket PC 2003 application “remote name cannot be resolved” exception when apppemt to connect web service C#Winforms应用程序发送电子邮件失败:无法解析远程名称:'smtp.gmail.com; 操作超时 - C# Winforms Application Failure in sending Email: The remote name could not be resolved: 'smtp.gmail.com ; Operation Timed out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM