Solved

sql server 2010 deleted database, restored it and now can't login error 4064

Posted on 2014-04-18
7
939 Views
Last Modified: 2014-04-18
I deleted a database and then restored it from a symantec back up.  Now I get an error message trying to open SQL server manager that says

Cannot open user default database, login failed.  Login failed for (servername ) admin. Microsoft SQL error 4604

Can anyone tell me how to fix this.  I think the datbase is corrupted even on the restored version.  SQL server 2008.
0
Comment
Question by:kdschool
  • 3
  • 3
7 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 40009156
have you first created a new login and added it to the database since the restore ??
0
 
LVL 4

Expert Comment

by:wsawalhi
ID: 40009174
Hello,

SQL SERVER – Fix : Error: 4064 – Cannot open user default database. Login failed. Login failed for user

http://blog.sqlauthority.com/2008/11/04/sql-server-fix-error-4064-cannot-open-user-default-database-login-failed-login-failed-for-user/
0
 

Author Comment

by:kdschool
ID: 40009183
I cant' get on the SQL Manager at all or see any of the databases.  Also when I tried solution 2 no databases are in the list so I hit browser for databases tyring to get to master and I get the same error message.  It won't let me browse.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:kdschool
ID: 40009194
Everything was fine till I removed that database.
0
 
LVL 4

Accepted Solution

by:
wsawalhi earned 500 total points
ID: 40009203
0
 

Author Closing Comment

by:kdschool
ID: 40009224
Very quick and great response. Saved me.
0
 
LVL 4

Expert Comment

by:wsawalhi
ID: 40009231
You are welcome, and I'm very happy that I could help...Cheers!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question