记:用户 nt authority\anonymous logon 登录失败 解决方案

最近在调试sqlserver连接,突然出现

用户 nt authority\anonymous logon 登录失败

错误,

数据库连接字符串为

Data Source=localhost\xxx;Integrated Security=True;User ID=sa;Password=123456;database=xxxx;MultipleActiveResultSets=true

解决方案为:

Integrated Security=True项True修改为False,直接使用用户名登录。

记一次错误,共勉。

posted @ 2021-01-04 11:15  Stupid_Bire  阅读(1741)  评论(0编辑  收藏  举报