BUG: DMO BulkCopy Leaves File Locks When Format File Is MissingLast reviewed: November 24, 1997Article ID: Q177207 |
The information in this article applies to:
SYMPTOMSWhen an import or an export is initiated from a SQL-DMO object with a format file specified incorrectly or missing, no data is transferred and the bulk copy error file is left locked until the application which created the BulkCopy object is closed. If the operation is an export, then the data file is created and also left locked.
WORKAROUNDEnsure that the format file is in the correct location before executing the bulk copy operation.
STATUSMicrosoft 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.
MORE INFORMATIONA Visual Basic application can use SQL-DMO to initiate bulk copy operations. This allows various properties to be set for the BulkCopy object, including the use of a format file and the path to it. If the DataFileType is set to SQLOLEDataFile_UseFormatFile and the format file is not in the path specified by the FormatFilePath property, then all of the following symptoms occur:
Keywords : kbbug6.50 SSrvGen kbusage Version : Windows:6.5 Platform : WINDOWS Issue type : kbbug Solution Type : kbpending kbworkaround |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |