CMS Snapshot analysis - Run Data Flow Security Analysis - Save Results to Database - Fatal Error - XMLtoDB Transfer failed with message - XML data or another error occurred while reading file BuildAgent datatransfer

Description

This page will help you to troubleshoot fatal error that occurs when Saving the results of dataflow to the local database and the process ends with the fatal error

starting Task Save results to database

D:\CAST\8.3/XMLTODB.exe /f:E:\CAST\LSA\LISA\24c70a7923f241db942e6ae12868d9c7\Scrde08301bc69b444f80918a87f4807804\BuildAgent.datatransfer ..... 

Transferring XML -> DB using bulk copy whenever possible: this may take a while...

XMLtoDB: Transfer failed (XML -> DB) with message "XML data or another error occurred while reading file 'BuildAgent.datatransfer': invalid document structure"

Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
CSS4(tick)
CSS3(tick)
CSS2(tick)
Action Plan

The process XMLTODB is accepting as an argument the output of the J2EE/.NET data flow process BuildAgent.datatransfer. When this error occurs, it means that the command line of DataFlowRunner.exe has started creating the file, but the process failed and so the  BuildAgent.datatransfer is 0KB

  1. If file is empty, then check for any issue that occurred during CMS Snapshot Analysis - Run Data Flow Security Analysis - Run J2EE or NET Data Flow Security 
  2. If file has result, then open file and check if it is a valid xml
    1. Open the file with any web browser
    2. If the XML file is parsed correctly by the browser it is a valid xml file
    3. Else the file is not a valid xml. 
      1. Delete  BuildAgent.datatransfer file and relaunch snapshot
      2. If issue is reproduced go to next step.
  3. If you do not find the information you are looking for or solution for your problem, on this page, contact CAST Technical Support  with the following Relevant input.

Relevant input

Notes/comments


Related Pages


·