Last night I swapped out our decrepid old NT4/IIS4 intranet server for a lovely new Win2k/IIS5 box. I copied the whole site across and put all the shares/permissions back.
We have a helpdesk that uses ASP and an access 2000 database as the backend. Most of the ASP pages were written by a guy who has left now (suprise) and I've managed to work out what most of it does.
The function that causes the problem on all the pages is the same one:
function getRequestDetails (requestID) {
//Get request deatils
co = RSExecute("RShelpdesk.asp","getRequestDetails",requestID);
if (co.status == -1) {
WriteError(co.data);
alert ("Unable to retrieve details of logged help request. ID = " + requestID);
return;
}
//Have we found this request ?
if (co.return_value == "-1" {
alert("Could not find this call with ID: " + requestID + " in the database"
return;
}
The co.status returns -1 on any page that uses it. I can't see what would affect this. Do I need to install anything to make the remote scripting work properly?
TIA
Rowan
We have a helpdesk that uses ASP and an access 2000 database as the backend. Most of the ASP pages were written by a guy who has left now (suprise) and I've managed to work out what most of it does.
The function that causes the problem on all the pages is the same one:
function getRequestDetails (requestID) {
//Get request deatils
co = RSExecute("RShelpdesk.asp","getRequestDetails",requestID);
if (co.status == -1) {
WriteError(co.data);
alert ("Unable to retrieve details of logged help request. ID = " + requestID);
return;
}
//Have we found this request ?
if (co.return_value == "-1" {
alert("Could not find this call with ID: " + requestID + " in the database"
return;
}
The co.status returns -1 on any page that uses it. I can't see what would affect this. Do I need to install anything to make the remote scripting work properly?
TIA
Rowan