I have a production and development environment on separate SQL instances for a new client. In my PROD environment my GP system database is named 'DYNAMICS'. In my DEV environment, my GP system database is named 'DYNDEV'.
I restored my DEV company database from a copy of the PROD company database.
After the restore, I ran the CompanyUpdateDBName SQL script from KB871973. Before running the script, I updated the script so the system database reference was correctly 'DYNDEV'. I then ran a SQL script to update the DBNAME field in my company..SY00100 table.
Now, when I try to log into the DEV company, using the correct ODBC, I get the following error messages:
[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'DYNAMICS..SY01500'.
Then:
The stored procedure smCleanupFilesBeforeLogin returned the following results: DBMS: 208, Microsoft Dynamics GP: 0.
I followed KB849708, which I found after searching on the 2nd error message. But I still get the same error messages when I try to log in.
So there's a reference to the PROD system database somewhere, but I don't know where.
Any ideas?