How to import an Xml application from a 5.7 server to a 6.5 server

I have successfully exported and imported applications before via the Xml Server tab in the Workbench, in order to make copies or backups of them in 6.5. But this time, I am trying to export an Xml app from 5.7 into 6.5 and I get an error when I try to import. This is the error I get:

A datasource XML element was expected but not found.

Is it possible to import a 5.7 Xml application to 6.5, or do I need to rebuild it?

The steps I’ve been using are these:

  1. export the original app to an Xml file.
  2. Create a new, empty app in the Workbench, save and close it.
  3. Right-click the new app, and import the Xml file.

April,

Does the application define any backend credentials? In Version 5.7 and earlier, such credentials were valid, but are not in Version 6.0 and later. If the application does include such credentials, I suggest you edit the application in your Version 5.7 environment to remove them, then export the application.

RLJII

I’m not sure. We don’t have a 5.7 dev server, so I can’t really do that. But maybe I’ll see if I can just pull that out of the exported Xml.

That worked. In the exported Xml I removed all the database connection tags and replaced them with


 <datasource></datasource>

And the error went away.

Thanks for your help.