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 DECEMBER 04, 2019
Applies to:
Primavera P6 Professional Project Management - Version 18.8 and laterInformation 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:
ERROR Primavera command line Log
Log time :<TIMESTAMP>, Log Message: Unable to connect to the database. Please run the Database Configuration tool or contact your administrator.
Log time :<TIMESTAMP>, Log Message: Unable to connect to the database. Please run the Database Configuration tool or contact your administrator.
Log time :<TIMESTAMP>, Log Message: Login Failed PMDB admin
Log time :<TIMESTAMP>, Log Message: Application Exits with error -7
STEPS TO REPRODUCE:
- Create actions.xml and then save parameters in a notepad.
- Save as .bat extension to make it a batch file.
- Confirm that the batch file works OK by running it manually first
- Create a windows task scheduler and add the batch file.
- 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
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 |
Cause |
Solution |
References |