简体   繁体   English

尝试从Visual Studio添加Https服务时出现“无法创建SSL / TLS安全通道”错误

[英]“Could not create SSL/TLS secure channel” Error while trying to add Https Service from Visual Studio

I am trying to add Service Https Service Reference to Visual Studio. 我正在尝试将服务Https服务引用添加到Visual Studio。

The https://thelinkiamtrying.com/Service.svc link opens in browser without problem. https://thelinkiamtrying.com/Service.svc链接在浏览器中打开没有问题。 But when I try to add it through Visual studio interface, (Add Service Reference) I get the following error: 但是当我尝试通过Visual Studio界面添加它时,(添加服务引用)我收到以下错误:

"There was an error downloading ' https://thelinkiamtrying.com/Service.svc/databin/ListData.svc/ $metadata'. The request was aborted: Could not create SSL/TLS secure channel. Metadata contains a reference that cannot be resolved: ' https://thelinkiamtrying.com/Service.svc '. Could not establish secure channel for SSL/TLS with authority 'thelinkiamtrying.com'. The request was aborted: Could not create SSL/TLS secure channel. If the service is defined in the current solution, try building the solution and adding the service reference again. “下载' https://thelinkiamtrying.com/Service.svc/databin/ListData.svc/ $ metadata'时出错。请求已中止:无法创建SSL / TLS安全通道。元数据包含不能参考的引用已解决:' https ://thelinkiamtrying.com/Service.svc'。无法为权限'thelinkiamtrying.com'建立SSL / TLS的安全通道。请求已中止:无法创建SSL / TLS安全通道。如果服务在当前解决方案中定义,尝试构建解决方案并再次添加服务引用。

What should I do to add this Service? 我该怎么做才能添加这项服务?

If you just show me that how can I call it without using the interface and from codebehind, that would help too. 如果您只是告诉我如何在不使用界面和代码隐藏的情况下调用它,那也会有所帮助。

I had the same problem and resolved this by using another version of Visual Studio. 我有同样的问题,并通过使用另一个版本的Visual Studio解决了这个问题。 VS 2012 did not let me add service reference with the exact same error message, but VS 2015 added it with no errors. VS 2012没有让我添加完全相同的错误消息的服务引用,但VS 2015添加它没有错误。 Then I was able to save the project and open it again in VS 2012. 然后我能够保存项目并在VS 2012中再次打开它。

暂无
暂无

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

相关问题 Visual Studio 2010添加服务参考无法创建SSL / TLS安全通道 - Visual Studio 2010 add service reference Could not create SSL/TLS secure channel 无法创建从插件到Web服务的SSL / TLS安全通道 - Could not create SSL/TLS secure channel from plugin to web service 在 Service Fabric 中通过 HTTPS 调用 WCF:请求已中止:无法创建 SSL/TLS 安全通道 - Calling WCF over HTTPS in Service Fabric : The request was aborted: Could not create SSL/TLS secure channel 无法稳定SSL / TLS的安全通道,在Visual Studio中添加新服务引用 - Could not stablish secure channel for SSL/TLS adding new service reference in Visual Studio 使用X.509对Web服务进行身份验证时出现“无法创建SSL / TLS安全通道”错误 - “Could not create SSL/TLS secure channel” error when authenticating to a web service using X.509 WebRequest 错误 - 无法创建 SSL/TLS 安全通道 - WebRequest Error - Could not create SSL/TLS secure channel 获取请求错误“无法创建 SSL/TLS 安全通道” - Get request error "Could not create SSL/TLS secure channel" 出现错误:无法创建SSL / TLS安全通道 - Getting error : Could not create SSL/TLS secure channel 服务器错误:请求已中止:无法创建SSL / TLS安全通道 - Server Error: The request was aborted: Could not create SSL/TLS secure channel SChannel 错误:请求被中止:无法创建 SSL/TLS 安全通道 - SChannel error: The request was aborted: Could not create SSL/TLS secure channel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM