“The underlying connection was closed: An unexpected error occurred on a send” after installing VS 2015 update 2

杀马特。学长 韩版系。学妹 提交于 2019-12-02 14:33:00

问题


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".


回答1:


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. 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.

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

  3. In the Site Bindings window, click Add.

  4. 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".

This problem was solved with this answer.



来源:https://stackoverflow.com/questions/49132308/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!