Unix Technical Forum

Login fails - BCP

This is a discussion on Login fails - BCP within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, I'm getting this message while performing a BCP command... can anyone tell me what this means? Do any ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:19 PM
Marc
 
Posts: n/a
Default Login fails - BCP

Hi,

I'm getting this message while performing a BCP command...
can anyone tell me what this means? Do any of you know
where to find a list of explanations of NativeErrors and
SQLstate errors as well?

*************************************
SQLState = 37000, NativeError = 4060
Error = [Microsoft][ODBC SQL Server Driver][SQL Server]
Cannot open database requested in login 'XXX'. Login fails.
*************************************

Thank you
Marc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:19 PM
Brannon Jones
 
Posts: n/a
Default Re: Login fails - BCP

It means that you tried to run a BCP command against a database, which you
either don't have access to, or doesn't exist. The native error, in this
case, is the SQL message id (found in the sysmessages table).

Brannon

"Marc" <anonymous@discussions.microsoft.com> wrote in message
news:3f1c01c49f49$2624a020$a401280a@phx.gbl...
> Hi,
>
> I'm getting this message while performing a BCP command...
> can anyone tell me what this means? Do any of you know
> where to find a list of explanations of NativeErrors and
> SQLstate errors as well?
>
> *************************************
> SQLState = 37000, NativeError = 4060
> Error = [Microsoft][ODBC SQL Server Driver][SQL Server]
> Cannot open database requested in login 'XXX'. Login fails.
> *************************************
>
> Thank you
> Marc


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com