Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

后端 未结 9 1369
北海茫月
北海茫月 2020-11-29 04:23

I been strugling with this for 2 days now without comming any closer to solution. I have read 20-30 threads alteast and stil can not resolve this.

Please help me out

9条回答
  •  有刺的猬
    2020-11-29 05:01

    The error message you are receiving is telling you that the application failed to connect to the sqlexpress db, and not sql server. I will just change the name of the db in sql server and then update the connectionstring accordingly and try it again.

    Your error message states the following:

    Cannot open database "Phaeton.mdf" requested by the login. The login failed.
    

    It looks to me you are still trying to connect to the file based database, the name "Phaeton.mdf" does not match with your new sql database name "Phaeton".

    Hope this helps.

提交回复
热议问题