Microsoft sql server error 4604


















SQL Server Tools. For discussions on features exposed through tools, please post to the directly-related forum 1 2. Sign in to vote. Wednesday, October 3, AM. Hi, thank you all for the replies. Monday, October 8, PM. Wednesday, October 3, PM. If you are facing some issues with manual methods there is another best way to get rid of this issue is SQL Database Recovery.

This software recovers quickly helps in removing the SQL server error. Let us discuss some important features of SQL Data recovery :. Manual and a direct method has been explained above to move out from the SQL Server error Users can use any of the above methods but if someone wants to resolve the issue quickly can opt for the direct method.

Lets us know the causes behind this type of error. Is part of a database mirror. Additionally, this may also happen when the login account is a member of multiple groups, and the default database for one of those groups is unavailable at the time of connection. To resolve this error message, we need to specify a valid, available database in the connection string.

The steps to perform it include:. Once we have found the database, next step would be to change the default database set for the login. There are two options to change the default database set to any login. Expand Security Folder followed by Logins folder. Now double click on your login name or right click on login and choose properties tab.

You can see default database is showing as blank. This was the main issue because your database has dropped from the instance. Now change it to master database and click on OK button to proceed. Now change the connect to database to any existing database on your server like master or msdb. Today, we saw how our Support Engineers fix this error. Never again lose customers to poor server speed! Let us help you. Your email address will not be published.

Submit Comment. Or click here to learn more. When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. Microsoft SQL Server. Error occurs when the database which is dropped is default for some database user.

Cannot open user default database. The way to resolve this is given here , summarized below. In my case this was due to a user being a member of multiple groups, each group having its own login.

All groups' logins need to have their default database set to a database accessible to the user. You can set each login with an invalid default database to have a default database of master accessible to all logins :.

The user default database is unavailable at the time of connection so that this error message will popup. SO check which server you tagged to that particular user to access whether it is online or offline mode. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more.



0コメント

  • 1000 / 1000