Error: Could not find server 'SLDB1' in sysservers.
Posted on 2009-05-14
I'm working on doing a point upgrade of our Syteline ERP system from 8.0.11 to 8.1. In order to test the upgrade process, I've taken a VM copy of the DB server and the Utility server. In order to have both on our live network, I've renamed them during the process and reinstalled SQL on the DB server. I did uninstall and reinstall SQL during the process.
I've restored our application databases by restoring from .bak files from a full backup.
I am now attempting to modify data within one of the tables and am coming across this error:
No row was updated.
The data in row 2 was not committed.
Error Source: .Net SqlClient Data Provider.
Error Message: Could not find server 'SLDB1' in sysservers. Execute sp_addlinkedserver to add the server to sysservers.
The statement has been terminated.
Correct the errors and retry or press ESC to cancel the change(s).
SLDB1 is the name of the original server. The name for the virtual server is SLDB2.
If I do a select * from sys.servers, the name showing is SLDB2, which is what I would expect. Why would a restored database still be looking for the original server? How can I change it?
Also, using sp_addlinkedserver to add an entry for SLDB1 would defeat the purpose - the intent is to prevent modifying data on the production DB server... the database should be looking for SLDB2.