SQL server Error 4060

securitysql-server-2005

4060 "Server rejected the connection; Access to selected database has been denied".

How can I troubleshoot this error?

Best Solution

This error also occurs if the Database not exists

so make sure that there is a database with the name you provided in Catalog=MyDB