I have suddenly started getting an error in my application.
The error is:
This operation requires a connection to the \'master\' database. Una
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.
This error happened to me and none of the above worked. Embarrassingly, I realised that I had missed out a semi-colon from the connection string. Might be useful...
If you are working on windows authentication :
For user authentication: