Solution
This error occurs due to an invalid password in the PostgreSQLDatabase configuration file. It will be necessary to change the password configured for the PostgreSQLDatabase service.
To resolve this error, follow the steps below:
- Open the Windows Services application and stop the NI SystemLink Service Manager service.

- In a text editor with administrator privileges, open C:\ProgramData\National Instruments\Skyline\PostgreSQLDatabase\pg_hba.conf (this is the default location).
- Scroll to the bottom of the file and find the section # IPv4 local connections:
- Add a # at the start of the line host all all 127.0.0.1/32 scram-sha-256

- Above the commented line, add host all all 127.0.0.1/32 trust
- This removes the need to provide a password to make a database connection.

- Save and close the file.
- From the Start Menu, launch Command Prompt as an administrator.

- Enter cd "C:\Program Files\National Instruments\Shared\Skyline\PostgreSQLDatabase\pgsql\bin" to navigate to folder containing the PostgreSQL binaries.

- Type pg_ctl register -N postgres -D "C:\ProgramData\National Instruments\Skyline\PostgreSQLDatabase" and press Enter.

- Type net start postgres and press Enter to start the service.

- Leaving Command Prompt open, open C:\ProgramData\National Instruments\Skyline\PostgreSQLDatabase\postgresql.conf in a text editor.
- Scroll through the file to identity the line port = <port number>

- In Command Prompt, enter psql -h localhost -p <port> -U nisystemlink where <port> is the port number found in the postgresql.conf file.
- This connects to the SystemLink Server's PostgreSQL database.

- Then enter ALTER USER nisystemlink with password '<password>'; where <password> is the new password to set.

- Type quit to disconnect from the PostgreSQL database.

- Enter net stop postgres to stop the service.

- Type pg_ctl unregister -N postgres and then press Enter.

- Close Command Prompt.
- In a text editor with admin privileges, open C:\ProgramData\National Instruments\Skyline\PostgreSQLDatabase\pg_hba.conf
- Remove the changes made in steps 5 and 6. This includes:
- Uncomment the line host all all 127.0.0.1/32 scram-sha-256
- Delete the line host all all 127.0.0.1/32 trust
- Save and close the file.
- In a text editor with admin privileges, open C:\ProgramData\National Instruments\Skyline\Config\PostgreSQLDatabase.json
- Modify the Postgres.Password and Postgres.ConnectionString to include the new password configured in step 14. The format should resemble the following image.

- Save and close the file.
- Launch the NI SystemLink Server Configuration application.
- On the NI SystemLink Service Manager tab, click Restart to restart all services.

The TestMonitor service should now be fixed and running.