After creating a new repository and deleting the old, the TX scheduler service fails with an error containing the following line:
Service cannot be started. System.Data.SqlClient.SqlException (0x80131904): Cannot open database "projectRepository" requested by the login. The login failed.
The scheduler service is trying to use the old repository.
To resolve this issue, the scheduler needs to be pointed to the correct repository.
- Log in as the account running the scheduler service.
- Open TX
- A message box should appear to warn you that TX cannot find the repository. Click OK and the Project Repository dialogue box appears.
- Adjust your repository settings and click OK
- Restart the scheduler service.
If you are not allowed to log on as the user that runs the scheduler, see this article on how to change the repository settings.
This article applies to: timeXtender 4.5, tX2012, TX2014. Last updated: 2014-03-28.