August 15, 2013 at 12:44 pm
Hello,
I have installed sqlserver 2008R2 on new m/c as a part of migrating from sql 2005 to sql 2008.
Next day I was looking the log and found the error message:
Login failed for user 'MSSqlDB2K8\sqlsrvAcct'. Reason: Failed to open the explicitly specified database. [CLIENT: <local machine>]
I have created this account during installation but didn't add account int oadministrator group.
I have also tried to login using same credential in SSMS and I can't connect.
When tried to sto pand start the service i can do it.
I have added user into Administer group but still not working.
I have also assigned account in Sysadmin server Role into Security.
Thank you!
August 16, 2013 at 6:43 am
What is the default database for the login?
SELECT default_database_name
FROM sys.server_principals
WHERE name = 'MSSqlDB2K8\sqlsrvAcct';
GO
Is the database online and in multi user mode?
Cheers
Chris
August 16, 2013 at 9:28 am
Thanks for your resposne.
Default DB is MASTER.
DB is ONLINE
it's in MULTI_USER Mode
I don't have any User DBs, only System DB
Thanks.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy