Task 1 (Application Source Code Export) is aborted when the error "Failure in exporting XML file" occurs.
Cause A: This error will occur when no database profiles for this application has been configured in PowerServer Toolkit Configuration > Application Profiles > ApplicationName > Application Profile Configuration >DB Type.
Solution A: Follow the instructions in PowerServer Toolkit User Guide to configure the database type profiles and perform "Full Deployment" on the application with the PowerServer Application Deployment Wizard.
Cause B & Solution B: Refer to Source Code Export process aborts with a fatal error.