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 MARCH 22, 2022
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 126.96.36.199 to 188.8.131.52 [Release 8.4 to 16.1]
Primavera P6 Professional Project Management - Version 184.108.40.206 to 220.127.116.11 [Release 8.4 to 16.1]
Information in this document applies to any platform.
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:
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
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.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!