My Oracle Support Banner

Error 'Unable to connect to the database. Please run the Database Configuration Tool or contact your administrator' When Attempting to Login to Visualizer (Doc ID 2148444.1)

Last updated on APRIL 09, 2021

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.4.1.0 to 16.1.2.0 [Release 8.4 to 16.1]
Primavera P6 Professional Project Management - Version 8.4.1.0 to 16.1.2.0 [Release 8.4 to 16.1]
Information in this document applies to any platform.

Symptoms

When attempting to login to Visualizer if Visualizer is launched from within P6 Professional (tools menu), Visualizer loads but prompts for credentials instead of allowing direct login. When entering login credentials or launching Visualizer manually and entering login credentials, the following error occurs:

Unable to connect to the database. Please run the Database Configuration tool to contact your administrator.

The following error occurs in the %TEMP%/Visualizer.log file when connected to an Oracle database (in come cases the same message might appear for a SQL Server database):

TIMESTAMP Information Warn Connection initialization failure for alias <name>, username <name>

One of the following errors occurs in the %TEMP%/Visualizer.log file when connecting to a SQL Server database:

Error 1:

Exception occurred: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

Error 2:

Information Warn Exception during initialization failure for alias <name> , username <name> : System.AggregateException: One or more errors occurred. ---> System.Data.SqlClient.SqlException: A transport level error occurred while sending the request to the server. (provider: Session Provider, error: 19 - The physical connection can not be used)

 

The issue can be reproduced at will with the following steps:

1. Login to P6 Professional.
2. Select Tools > Visualizer.
3. Enter the login credentials on the Visualizer login page (this should not occur).
4. Note the reported error.

OR

1. Launch Visualizer from the Windows Start menu (Start > Oracle Primavera P6 > P6 Visualizer <version>).
2. Enter the login credentials on the Visualizer login page.
3. Note the reported error.

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!


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