BUG: DMO BulkCopy Leaves File Locks When Format File Is MissingID: Q177207
|
When 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.
Ensure that the format file is in the correct location before executing the bulk copy operation.
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.
A 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 : kbusage SSrvGen kbbug6.50
Version : Windows:6.5
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 16, 1999