Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 4 -> 5. Problem with remote scripting (I think)

Status
Not open for further replies.

Mecurio

MIS
Oct 23, 2000
18
GB
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
 
I've since narrowed this down to a problem with the ADO connection into the access database - moved the post to the ASP section (delete this thread please!)
 
if nothing changed,
check the default jscript in IIS. Make sure it's set to VBScript, not JScript.

There are so many reasons why you'd be getting -1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top