Hi,
I have recetly migrated from SQL 2000 to SQL 2005 and certain .asp-code that was working before, is no longer working.
Retrieving, inserting, deleting recordsets are no problem, but when I try to update I run into problems.
The following code works:
But in all my pages I have been using:
and then I'll list the columns
And this approach does not work. Since I am primarily a designer with programming knowledge on a need-to-know-basis, I don't know if something changed between the MS SQL versions? And I am not so keen on changing my code to the working solution in all those pages...
Since the error message is in Swedish I can't just post it but is says something about not finding the sql server in sysservers and tells me to run sp_addlinkedser ver to add servers into sysservers?
Does this make any sence to anyone?
Any help appreciated.
//Jesper
I have recetly migrated from SQL 2000 to SQL 2005 and certain .asp-code that was working before, is no longer working.
Retrieving, inserting, deleting recordsets are no problem, but when I try to update I run into problems.
The following code works:
Code:
"UPDATE tblsomething SET column_name = 'something' "
Code:
rs.Open "SELECT * FROM tblSomething WHERE column_name=" & RequestSomething, connection, 1,3
Code:
rs.Fields("column_name") = Request.Form("form_name") - - rs.Update
Since the error message is in Swedish I can't just post it but is says something about not finding the sql server in sysservers and tells me to run sp_addlinkedser ver to add servers into sysservers?
Does this make any sence to anyone?
Any help appreciated.
//Jesper
Comment