Troubleshooting: Data Load configuration file is missing DataLoadEnvConfiguration declaration
An error occurs when you are running the Data Load utility that generates an error message that the configuration file is missing an element declaration.
Problem
When you try running the data load
utility, you get an error similar to the following error message:
The configuration XML file is invalid. The error occurred in: file:yourconfigurationXMLfile, on line: 19, column: 75. Error detected was: cvc-elt.1: Cannot find the declaration of element '_config:DataLoadEnvConfiguration'..Where yourconfigurationXMLfile is the name of the specified configuration XML file.
This error occurs if for your Data Load utility configuration file has an invalid XML declaration.
Note: If this error is encountered when the Catalog
Upload feature in Management Center is used to load data, your configuration
XML file can be incorrectly customized.
Solution
This error can occur if you specify the wc-dataload-env.xml file instead of the wc-dataload.xml file in the command line when you are running the Data Load utility. Verify that you specify the wc-dataload.xml file in the command line when you are running the Data Load utility.