Saturday, November 17, 2012

XML document must have a top level element error reported in Datacap

Description:

Message "Could not load application descriptionXML document must have a top level element" during rules execution or when running Setup on the task in Taskmaster Client:



Reason:

The workflow name is case and space sensitive and if the name is not synchronized in the environment then this message may result.

Solution:

Stop and close any open clients, including background services, before attempting resolution.

1. Open Taskmaster Application Manager and select your application

2. Place the cursor into the workflow name(s) and write down the name(s) exactly

3. Open your datacap.xml file using Notepad or any other text editor

- Exact path to datacap.xml is listed in the Service tab of Taskmaster Application Manager

4. Locate your application reference (there should only be one), ensure that the ref="path" is a valid relative or UNC path and write

down the 'app name' exactly as listed

5. Open the admin database's [dco] table and write down the values for the dco_id and dco_setup columns

Compare values retrieved from the admin database, datacap.xml file and the application file (Taskmaster Application Manager). The workflow name must be uniform across all entries, including case and space sensitivity. Update any values that require changes, save all modifications, and then open a new client to test and confirm resolution.

Note: It is recommended that to backup the database, datacap.xml file and application file (*.app inside the application folder) prior to any changes.

No comments:

Post a Comment