This operation requires a connection to the 'master' database

前端 未结 9 821
没有蜡笔的小新
没有蜡笔的小新 2021-01-03 19:28

I have suddenly started getting an error in my application.

The error is:

This operation requires a connection to the \'master\' database. Una

9条回答
  •  青春惊慌失措
    2021-01-03 20:23

    I had this issue and in my case resolved it by adding "Integrated Security=True" to the connection string. This only applies if you're connecting to the DB using Windows Authentication. Hope it helps.

提交回复
热议问题