Connection to remote SQL server breaks when upgrading web server to .net framework 4.6.1

后端 未结 4 760
再見小時候
再見小時候 2021-02-20 00:27

We\'re currently working on updating our asp.net web application (hosted on IIS 7.5) from .net framework v4.5 to v4.6.1. On small lower environments/local development in which S

4条回答
  •  深忆病人
    2021-02-20 01:08

    First of all - this issue appears only when you're using Active Directory authentication.

    I've managed dirty-fix: add your MSSQL server to your local (machine which can not connect to MSSQL server) hosts file (%windir%\system32\drivers\etc\hosts).

    For example: 192.168.0.5 mssqlserver

    It realy doesn't matter the name. It also works well if you have multiple SQL servers on one IP address (connecting through NAT).

    This dirty-fix will also fix slow loading using SQL Management Studio issue.

提交回复
热议问题