PRB: SQLXMLBulkLoad Error Message 80040E14: "File Could Not Be Opened" or "File Does Not Exist" (316371)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q316371 SYMPTOMS
When you run an XML Bulk Load application, one, or both, of the following error messages may occur:
Code: 80040E14 - Could not bulk insert because file '%s.txt' could not be opened. Operating system error code 3 (The system cannot find the path specified.)
Source: Microsoft OLE DB Provider for SQL Server
Code: 80040E14 - Could not bulk insert. File '%s.txt' does not exist.
Source: Microsoft OLE DB Provider for SQL Server
CAUSE
This problem occurs if:
- SQL Server cannot locate the temporary file path specified by the SQLXMLBulkLoad object
-or-
- SQL Server can locate the temporary file path specified by the SQLXMLBulkLoad object but the target instance does not have enough permissions to read the files.
WORKAROUND
The temporary file path specified by the SQLXMLBulkLoad object must be a shared location accessible to the service account of the target instance of Microsoft SQL Server and to the account of the XML Bulk Load application.
To work around this problem, you can use any one of the following three methods:
MORE INFORMATION
The first error message (shown in the "Symptoms" section) occurs if the service account of the target instance of Microsoft SQL Server cannot locate the specified path.
The second error message (shown in the "Symptoms" section) occurs if the service account of the target instance of Microsoft SQL Server can locate the path but cannot find the files or does not have enough permissions to read the files.
The second error message may also occur if the path already exists locally on the SQL Server computer, but the path in which the XML Bulk Load application creates the temporary files is on a different computer than the local SQL Server.
REFERENCES
SQL XML Books Online; topic: "Performing Bulk Load of XML Data"
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbprb KB316371 |
---|
|