SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 The cursor does not include the table ... error?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dblock
Starting Member

USA
2 Posts

Posted - 09/04/2007 :  10:39:12  Show Profile  Visit dblock's Homepage  Reply with Quote
We use a lot of virtual machines. I have a base VM with SQL 2005 installed. I rename this VM (i have multiple copies running) and run an old application (VB code, iterates through recordsets, etc.).

I get: Microsoft][ODBC SQL Server Driver][SQL Server]Could not find server '2K3VM-DG' in sysservers. Execute sp_addlinkedserver to add the server to sysservers.

This makes sense, and I can fix it with sp_dropserver / sp_addserver [local]. Good.

The next error is puzzling though:

[Microsoft][ODBC SQL Server Driver][SQL Server]The cursor does not include the table being modified or the table is not updatable through the cursor.

Any suggestions on how to fix this?

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 09/04/2007 :  23:09:19  Show Profile  Reply with Quote
Did you add server with 'sp_addserver new_name, local'? On which statement did you get cursor error?
Go to Top of Page

dblock
Starting Member

USA
2 Posts

Posted - 09/15/2007 :  10:27:15  Show Profile  Visit dblock's Homepage  Reply with Quote
Yep, that was it. sp_addserver wasn't run with local. Thx.

quote:
Originally posted by rmiao

Did you add server with 'sp_addserver new_name, local'? On which statement did you get cursor error?

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000