Re: can not open user default database?!
From: Brian Henry (brianiupmsdn_at_newsgroups.nospam)
Date: 08/16/04
- Next message: Howard Carr: "Help with "Syntax error converting datetime from character string""
- Previous message: Ian: "Really tough Stored Procedure Debug Problem."
- In reply to: Dan Guzman: "Re: can not open user default database?!"
- Next in thread: Uri Dimant: "Re: can not open user default database?!"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Aug 2004 09:48:20 -0400
that fixed it, thanks
"Dan Guzman" <danguzman@nospam-earthlink.net> wrote in message
news:%23NbY9V5gEHA.2812@tk2msftngp13.phx.gbl...
> You'll get this error if the default database associated with the login is
> unavailable. Try specifying the desired default database for the login
> using sp_defaultdb:
>
> EXEC sp_defaultdb 'MyUser', 'MyDatabase'
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
> news:%23RzGsR5gEHA.216@tk2msftngp13.phx.gbl...
>> I'm lost now... I have a user set up as a db_owner for one of our
> databases,
>> the permissions all look correct and his machine keeps saying "can not
> open
>> user default database. login failed" in enterprise manager... what could
>> cause this and how do you fix it? thanks
>>
>>
>
>
- Next message: Howard Carr: "Help with "Syntax error converting datetime from character string""
- Previous message: Ian: "Really tough Stored Procedure Debug Problem."
- In reply to: Dan Guzman: "Re: can not open user default database?!"
- Next in thread: Uri Dimant: "Re: can not open user default database?!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|