Cannot open database "DataDir" requested by the login. The login failed

Posted by Turkan Caglar on Stack Overflow See other posts from Stack Overflow or by Turkan Caglar
Published on 2010-05-21T22:10:25Z Indexed on 2010/05/21 22:30 UTC
Read the original article Hit count: 277

Filed under:

Hi, I have a single user software that uses SQL Server database 2005. My computer was crushed while my software was on. I saved a copy of my database after I rescued my computer. However my software gives my following message. ( I don't know anything about SQL) However, I guess my database has the last login information. Since software was not shot down properly, it still thinks that I am logged in doesn't allow me to login again. How can I solve the problem? Can you help me? Or do you know any source that I can get help?

Cannot open database "DataDir" requested by the login. The login failed ComputerName = GURELS User ID=sa;Initial Catalog=DataDir;Data Source=GURELS\CSS;Application Name=ChefTec

User ID=sa;Initial Catalog=CTDir;Data Source=GURELS\CSS;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Application Name=ChefTec;Workstation ID=GURELS;Use Encryption for Data=False;Tag with column collation when possible=False

Thank you very much

Turkan e-mail" [email protected] phone:617 259 6644

© Stack Overflow or respective owner

Related posts about sql-server