Error in Run SQL Script orpm_grant_privileges.sql: DatabaseToolException (ORA-04042: Procedure, Function, Package, or Package Body Does Not Exist) During dbsetup.bat (Doc ID 2077890.1)

Last updated on MARCH 30, 2017

Applies to:

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

Symptoms

When attempting to upgrade an Oracle database to P6 EPPM R15.1, the following error occurs.

ERROR
-----------------------
Error in Run SQL Script orpm_grant_privileges.sql: DatabaseToolException (ORA-04042: procedure, function, package, or package body does not exist)

STEPS
-----------------------
The issue can be reproduced at will with the following steps on an Oracle database:
1. Run dbsetup.bat
2. Once scripts start running, error is displayed

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot upgrade the database to a higher P6 version.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms