My Oracle Support Banner

Visualizer Login Fails With Error "Unable To Connect To The Database. Please Run the Database Configuration Tool or Contact Your Administrator." (Doc ID 2148444.1)

Last updated on FEBRUARY 06, 2019

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version to [Release 8.4 to 16.1]
Primavera P6 Professional Project Management - Version and later
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.

LOG ERROR #1 - documented in the %TEMP%/Visualizer.log file:

The following error is returned when connected to an Oracle database (in come cases the same message might appear for SQL DB):

TIMESTAMP Information Warn Connection initialization failure for alias ALIASNAME, username USERID

The following error is returned 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

LOG ERROR #2 - documented in the %TEMP%/Visualizer.log file:

The following error is returned when connecting to a SQL Server database:

Information Warn Exception during initialization failure for alias <alias_name> , username <username> : 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 login credentials at visualizer login page (this should not occur)
4. Note the error which occurs


1. Launch Visualizer from the start menu
2. Enter login credentials at visualizer login page
3. Note the error which occurs




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

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