“底层连接已关闭:发送时发生意外错误"安装 VS 2015 更新 2 后 [英] "The underlying connection was closed: An unexpected error occurred on a send" after installing VS 2015 update 2

查看:57
本文介绍了“底层连接已关闭:发送时发生意外错误"安装 VS 2015 更新 2 后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为 Visual Studio 2015 安装 Update 2 后,在尝试调试任何 Web 项目时,我不断收到错误消息:底层连接已关闭:发送时发生意外错误".

After installing Update 2 for Visual Studio 2015, when trying to debug any web project I keep getting the error message: "The underlying connection was closed: An unexpected error occurred on a send".

推荐答案

在安装此更新后不知何故,IIS 10只输掉了分配的SSL证书,我已经设置了HTTPS.按照以下步骤重新分配证书后,错误消息消失了:

Somehow after installing this update, IIS 10 just lost the assignment to the SSL certificate that I had set up for HTTPS. The error message was gone after reassigning the certificate following these steps:

  1. 在 Internet 信息服务 (IIS) 管理器的连接"窗格中,展开安装了证书的服务器的名称.然后展开站点并单击要使用 SSL 证书保护的站点.

  1. In Internet Information Services (IIS) Manager, in the Connections pane, expand the name of the server on which the certificate was installed. Then expand Sites and click the site you want to secure using the SSL certificate.

在操作"菜单(右窗格)中,单击绑定".

In the Actions menu (right pane), click Bindings.

在站点绑定"窗口中,单击添加".

In the Site Bindings window, click Add.

在添加站点绑定"窗口中,从下拉列表中选择您的 SSL 证书,然后单击确定".

In the Add Site Binding window, select your SSL certificate in the drop-down list then click OK.

解决此问题后,尝试调试时,开始出现以下错误消息:

After solving this, when trying to debug, the following error message started to appear:

配置错误:此配置部分不能在此路径使用".

"Config Error: This configuration section cannot be used at this path".

此问题已通过此答案解决.

这篇关于“底层连接已关闭:发送时发生意外错误"安装 VS 2015 更新 2 后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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