My Oracle Support Banner

DBSetup Fails With "Error in Create the SQL Server tablespaces for P6 PPM : RuntimeException (Error in Run SQL Script ssppm_init_db.sql: DatabaseToolException (Directory lookup for the file "C:\xxx\PMDB_DAT.MDF" failed with the operating system error 2" (Doc ID 2654667.1)

Last updated on APRIL 02, 2020

Applies to:

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

Symptoms

When attempting to create a database using DBSetup.bat, the following error occurs:

ERROR

RuntimeException: Error in Create the SQL Server tablespaces for P6 PPM : RuntimeException (Error in Run SQL Script ssppm_init_db.sql: DatabaseToolException (Directory lookup for the file "C:\xxx\PMDB_DAT.MDF" failed with the operating system error 2(The system cannot find the file specified.).)) (Error in Create the SQL Server tablespaces for P6 PPM: RuntimeException (Error in Run SQL Script ssppm_init_db.sql: DatabaseToolException (Directory lookup for the file "C:\xxx\PMDB_DAT.MDF" failed with the operating system error 2(The system cannot find the file specified.).)))

STEPS

The issue can be reproduced at will with the following steps:
1. Launch DBSetup.bat from a machine that does not have SQL Server installed.
2. Enter the Connection Information. Click next.
3. Enter the Database name and specify an existing directory on the local C:\ drive (of the machine where DBSetup.bat was launched) to create the Data and Log files. Click Next.
4. Enter the privileged and public user names. Click Next.
5. Observe reported error.

BUSINESS IMPACT

The issue has the following business impact:
Due to this issue, a database cannot be created on the local C:\ drive of the machine where DBSetup.bat is being launched.

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


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