Database Connection Errors
- Last UpdatedJun 06, 2024
- 3 minute read
Before going through this section, see Prerequisites for Debugging Exceptions.
1. While opening the Central Configuration or while opening the Farm Configuration Wizard, the following database connection error message appears on Welcome to the AVEVA Work Tasks Configuration Wizard.
-
A valid connection to AVEVA Work Tasks database could not be established. Would you like to change the Database User Settings?
-
The following error message appears in the Central Configuration.
You will also get the message in the WTLogger Console:
Probable Cause
Database User's credentials are changed:
-
From Active Directory
-
From SQL Database instance
Solution
From Active Directory
-
On the Windows Start menu, point to Programs, point to AVEVA, and then click Farm Configuration Wizard.
The AVEVA Work Tasks Farm Configuration Wizard appears.
-
Click Next.
The Edit AVEVA Work Tasks Farm settings screen appears.
-
Select Database User Settings.
-
Click Next.
The Database User Settings screen appears.
-
Enter the updated User Name, Password, and Domain.
-
Click OK. The following confirmation message appears:
-
Click OK. A message indicating successful updates of database user settings appears.
-
Click OK.
From SQL Database instance
-
On the Windows Start menu, point to Programs, point to AVEVA, and then click Farm Configuration Wizard.
The AVEVA Work Tasks Farm Configuration Wizard appears.
-
Click Next.
The Edit AVEVA Work Tasks Farm settings screen appears.
-
Click Database Settings.
The Connect to existing database screen appears.
-
From the Connection String option, modify the User Id and Password for connecting to the database.
-
Click Test Connection. On success, the message appears.
-
Click OK.
-
Click Next. The user credentials are updated.
2. User is getting the following database connection error message while creating Repository Datasource or while opening an Enterprise Console.
Error while creating Repository Datasource in the Central Configuration:
Error while opening an Enterprise Console. This page gets hanged and displays the following message in the Logger Console.

Probable Cause
Database User Settings are not set and Windows authentication is used in the Repository Datasource.
Solution
-
Either use Windows authentication for the Repository Datasource
-
SQL authentication for the Repository Datasource
Steps for Windows authentication
-
On the Windows Start menu, point to Programs, point to AVEVA, and then click Farm Configuration Wizard.
The AVEVA Work Tasks Farm Configuration Wizard appears.
-
Click Next.
The Edit AVEVA Work Tasks Farm settings screen appears.
-
Select Database User Settings.
-
Click Next.
The Database User Settings screen appears.
-
Enter the updated User Name, Password, and Domain.
-
Enter Database User credentials.
-
Click OK.
Steps for SQL authentication
-
On the Windows Start menu, point to Programs, point to AVEVA, and then click AVEVA Work Tasks Central Configuration.
The Central Configuration page appears.
-
Click Datasource Settings. The Datasource List appears.
-
Click required Datasource from Datasource column.
-
Make changes to user SQL authentication. Select SQL from Authentication Type drop down list.
-
Click Test Connection, and then click OK.