Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' Possible Connection String Issue?

后端 未结 2 660
天涯浪人
天涯浪人 2021-01-12 18:39

I\'m attempting to deploy my first MVC application and I keep running into issues revolving around connecting to my sql server database. My current problem is that when I tr

2条回答
  •  一个人的身影
    2021-01-12 18:43

    If you intend to use integrated security you need to turn impersonation on:

    
    

    Otherwise add username and password to the connection string:

    Data Source=myServerAddress;Initial Catalog=myDataBase;User ID=xxx;Password=yyy;
    

提交回复
热议问题