A connection was successfully established with the server, but then an error occurred during the login process. (Error Number: 233)

后端 未结 14 1617
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 13:03

I am having error while connecting to SQL Server:

Details in Stack Trace are:

===================================

Cannot connect to ServerN         


        
14条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 13:15

    I got that error message in code line containing SqlConnection.Open() running my .NET code as x64 application. Running as x86 causing no errors.

    Solution was to deactivate the Force protocol encryption option for TCP/IP in %windir%\System32\cliconfg.exe

    Force protocol encryption

提交回复
热议问题