Microsoft KB Archive/286750

= FIX: Data transfer using ODBC Driver for SQL Server fails =

Article ID: 286750

Article Last Modified on 3/7/2006

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q286750



BUG #: 235843 (SHILOH_bugs)



SYMPTOMS
When you use the Microsoft ODBC Driver for SQL Server as either the source connection driver or the destination connection driver with the SQL Server Import/Export Wizard, and you choose the Copy Objects and Data Between SQL Server Databases option, you may receive the following error message:

Unable to connect to source server for transfer.

[Microsoft][ODBC SQL Server Driver][SQL Server]Login Failed for user ' '.



CAUSE
This error message is caused by incorrectly receiving the connection information from a SQL Server ODBC connection. The fix provided by SQL Server 2000 U.S. Service Pack 1 disables the Copy Objects and Data Between SQL Server Databases option in the Import/Export wizard when a connection to SQL Server over ODBC is used.



RESOLUTION
To resolve this problem, obtain the latest service pack for SQL Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 How to obtain the latest SQL Server 2000 service pack



WORKAROUND
To work around this problem, use either of the following methods:
 * Use the Microsoft OLE DB Provider for SQL Server instead of the Microsoft ODBC driver for SQL Server.
 * Select the Copy table(s) and view(s) from the source database option rather than Copy Objects...



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

Additional query words: OLE DB ODBC DTS Wizard

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB286750

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.