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

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

have you first created a new login and added it to the database since the restore ??
Sam SawalhiIT ConsultantCommented:

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

kdschoolAuthor Commented:
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.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

kdschoolAuthor Commented:
Everything was fine till I removed that database.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kdschoolAuthor Commented:
Very quick and great response. Saved me.
Sam SawalhiIT ConsultantCommented:
You are welcome, and I'm very happy that I could help...Cheers!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.