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

后端 未结 14 1605
没有蜡笔的小新
没有蜡笔的小新 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

    In my case I had the following by mistake in my connection string:

    Encrypt=True
    

    Changing to

    Encrypt=False
    

    Solved the problem

    "Server=***;Initial Catalog=***;Persist Security Info=False;User  ID=***;Password=***;MultipleActiveResultSets=False;Encrypt=False;TrustServerCertificate=False;Connection Timeout=30;"
    

提交回复
热议问题