We help IT Professionals succeed at work.

Login failed for user (Microsoft SQL Server, Error 4064)

algotube
algotube asked
on
Hello SQL Server Experts please view attachment for question and explanation.

Thank you for your time Microsoft-SQL-Server-Error-4064.doc
Comment
Watch Question

Commented:
In 4th page of the document, map the user to all system databases too. Or in page 10, while connecting to the server, connect to database called skfuser. This is happening as the domain group created is not a sysadmin on the server.

Author

Commented:
Thanks TempDBA for your reply.  

I will map all the users to all system databases and also I have added that group to  sysadmin under Security/Server Roles............ I will let you know tomorrow if they can log in..................

Thanks again

Author

Commented:


Ok this is what I did

(1) Mapped the user to all system databases
(2) Added that group to  sysadmin under Security/Server Roles
(3) On  page 10, while connecting to the server, I connected to database called skfuser.

Just recieved a call from my end user..................same error...............crap............

Author

Commented:
Ok went back and followed this URL

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


Which is the same thing as you said in your first post.........

 Or in page 10, while connecting to the server, connect to database called skfuser.

Don't know why it did not work the  first time around.........

Thanks for your help ............all is working now..................