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

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

    SQL 2016 solution/workaround here (could also work in earlier versions). This may not work or be appropriate in every situation, but I resolved the error by granting my database user read/write schema ownership as follows in SSMS:

    Database > Security > Users > User > Properties > Owned Schemas > check db_datareader and db_datawriter.

提交回复
热议问题