SQL Native Client, linked server error Only on Deletes -


We are using a SQL Native Client to connect to the Borland application from the local SQL Server 2005. This will be OK for selection, inserts, and updates when we delete: We get an error:

The server SERVERNAME \ SQLEXPRESS could not be found in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers

The default example is only the example, SERVERNAME \ SQLEXPRESS , and we Is there any idea to not use linked servers? I believe we have taken MDF and LDF files to a new server for this DB, and then retweeted it.

Update 1

There is no SQL This is happening through programmatic interaction with all cursors. This is an ODBC driver using ADO. You delete TableObj-> to delete the record.

Understand. I attended

  SELECT @@ servername  

The old host name of that box came back. I will be able to send a message to

  sp_dropserver 'OLDHOSTNAME \ SQLEXPRESS' go sp_addserver 'NEWHOSTNAME \ SQLEXPRESS', local  

P> server 'NEWHOSTNAME \ SQLEXPRESS 'has not been configured for data access

I attended

  sp_serveroption' ICS-POS3-new \ SQLEXPRESS ',' Data   

caused by linked servers I found that the local option on the server was not affected until I restarted the server. I restarted, then it just worked.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -