Skip to Content
0
Former Member
May 21, 2010 at 07:07 AM

SQL query Server: Msg 4064, Level 16 State 1 .....

144 Views

Dear All.

I deatached the EBW database four days back and tried to attach the Prd server database, Now

When I try to connect my sql Query receive a below error message

Unable to connect to server ... Server: Msg 4064, Level 16 State 1 .....

I tried to connect the server

C:\>osql -E 
Cannot open user default database. Login failed.

But I was able to connect via

C:\>isql -E
Msg 4062, Level 11, State 1, Server OPKVG03W, Line 0
Cannot open user default database. Using master database instead.

Please let me know how to fix this issue.

Thanks

Malai