Error: (399 [42000]) Error in ProcessClientSync. System.Data.Odbc.OdbcException... Cannot open database requested in login...

Scenario

You may get an email with the following error message multiple times per day. You may also notice the Lookup List Sync is not working properly and find this error in the log files.
Error message
(
399
) Error in ProcessClientSync. System.Data.Odbc.OdbcException: ERROR [
42000
] [Microsoft][ODBC SQL Server Driver][SQL Server]
Cannot open database requested in login
'<gfr_login>'.
Login fails
. ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login '<gfr_login>'. Login fails. at GFR_LookuplistSync.Database.Execute(String strSQL, String strDelimiter) at GFR_LookuplistSync.SyncLookuplist.ProcessClientSync(IniFile& objIniFile)

Cause

These errors may be caused by any of the following:
  • The name of the time and billing database has changed.
  • The login defined in the ODBC connection to the time and billing database has failed.
  • The server hosting the time and billing database is offline.
  • The time and billing database has moved to a different server than where it was when the lookup list and ODBC data source were originally set up.
  • A change to the firewall is not allowing the connection to the time and billing database.
  • Settings for the time and billing database server have changed and no longer allow remote connections.

Solution

Try these recommended solutions in the following order.
  1. Test the ODBC datasource and update passwords or database names as necessary.
  2. Review the ODBC Connection to a Database article for information on ODBC connections.
  3. Verify that there is an entry for GoFileRoom under System DSN for ODBC connections.
  4. Verify that the server with the time and billing client database is online.
  5. Verify that you are connected to the time and billing application database server.
  6. Review the SQL server troubleshooting article for resources and information on configuring the Practice CS SQL database.
  7. Run the GoFileRoom Lookup List service as domain admin.

error-icon

error-close