This article has been archived. It is offered "as is" and will no longer be updated.
When you use the bcp command prompt utility, an access violation occurs when all the following conditions are true:
You use the bcp utility.
You use a wrong format file.
You try to log the error information by using the -e switch option of the bcp utility.
The file that you specified for storing the error log is created but no information is stored.
Note A format file is used to store the format information for each field in a data file. The format information includes information about the storage type, prefix length, field length, and field and row terminators.
The bcp utility cannot create an error log by using the -e switch option if the wrong format file is used to import data from a text file.
To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.