Select to view content in your preferred language

Getting an error message "Invalid XML Workspace Document provided" when trying to import data into a new enterprise geodatabase.

88
3
yesterday
Labels (2)
LClark1102
Emerging Contributor

I used the Export XML Workspace Document tool to export data from an existing eGDB with the intention of using it to copy all of the data to a newly created eGDB. However, I'm getting the message as shown in the screenshot below. Anyone know what the issue could be?

I've used this method in the past to import the schema only to a new geodatabase. Could it be due to the fact that I'm trying to export the entire database? The XML is about 8GB.

If this isn't a viable method for a database this large, could anyone recommend a different method? 

Thanks.

LClark1102_0-1749763356332.png

 

0 Kudos
3 Replies
Robert_LeClair
Esri Esteemed Contributor

Hmm...interesting.  So in the Export XML Workspace Document GP tool, there is a caution message that says the following:  "The output XML workspace document can be very large when you copy both the data and the schema. Generally, this is not recommended for copying geodatabase data. Alternatives for copying geodatabase data include using the Copy tool or the Clip tool to extract subsets of the data. In addition, the Package toolset contains tools that consolidate, package, and share layers, map documents, address locators, and geoprocessing results."

8 GB is pretty big so size could be the issue perhaps.

0 Kudos
MichaelVolz
Esteemed Contributor

Have you tried just performing this workflow on the schema as a test?

0 Kudos
MobiusSnake
MVP Regular Contributor

I've run into something similar, have you tried exporting your file with a zip extension rather than as XML?  In my experience this behaves differently than zipping a previously-exported XML file, you want to actually specify a .zip extension at the time you run the Export XML Workspace Document tool.  (It supports .xml, .zip and .z extensions, as does the Import XML Workspace Document tool.)

0 Kudos