Knowledge Base

BUG: SQL-DMO's ::ImportData Method Does Not Function Properly

Article ID: 163450

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q163450
BUG #: 1297 (Windows: 6.50)

SYMPTOMS

When you invoke the SQL Server Distributed Management Object's (SQL-DMO) ::ImportData method from a Visual Basic application, you receive runtime error 10050 when the import file contains more rows than the specified Bulk Copy Program (BCP) batch size.

CAUSE

Error 10050 is an informational message from DB-Library informing the caller that a batch has been successfully copied to the SQL Server.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: ExportData BulkCopy SQLOLE.BulkCopy Object Property

Keywords: kbprogramming kbusage KB163450