My Oracle Support Banner

Error: "Application Exits with error -7" When Attempting to Generate TSLD and Gantt Reports Using Windows Task Scheduler As the System Account (Doc ID 2528754.1)

Last updated on JUNE 02, 2019

Applies to:

Primavera P6 Professional Project Management - Version 18.8 and later
Information in this document applies to any platform.

Symptoms

When attempting to schedule automated runs of P6 Visualizer TSLD and Gantt reports jobs using a program like Windows Task Scheduler the following error is reported in the log file:

Primavera command line Log
Log time :4/9/2019 1:35:43 PM, Log Message: Unable to connect to the database. Please run the Database Configuration tool or contact your administrator.
Log time :4/9/2019 1:35:43 PM, Log Message: Unable to connect to the database. Please run the Database Configuration tool or contact your administrator.
Log time :4/9/2019 1:35:43 PM, Log Message: Login Failed PMDB admin
Log time :4/9/2019 1:35:43 PM, Log Message: Application Exits with error -7

STEPS TO REPRODUCE:

  1. Create actions.xml and then save parameters in a notepad.
  2. Save as .bat extension to make it a batch file.
  3. Confirm that the batch file works OK by running it manually first
  4. Create a windows task scheduler and add the batch file.
  5. Notice in the logs that the task fails with Alias not found error.

Reference:
Visualizer - How to Create a Batch File to Automate Reports (Doc ID 2521162.1)
Run and Automate Reports from the Command Line

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.