butlins
09-14-2007, 10:58 AM
Apologies first for not pasting code for this - I normally do my postings on the HTML/CSS forum, so I'm new to this bit of CodingForums.
I think it's a problem with a shared server one of my sites is hosted on, and I'm trying to gauge whether anyone else has had a similar problem as it's driving me wild!
I've got a classic ASP page which is pulling recordsets out of an Access 2003 database file - there's no clever .NET trickery as I'm a bit old fashioned that way. The site is written using Dreamweaver CS3.
On my client's hosting server (http://www.healthcarealliances.co.uk/Public/newsite/default.asp), sometimes it works, sometimes it doesn't. When it doesn't work, the line that's reported with an error changes each time I hit the refresh button in my browser, and eventually the page will load again. The line numbers correspond to the last line of
Set [recordsetName]_cmd = Server.CreateObject ("ADODB.Command")
[recordsetName]_cmd.ActiveConnection = [reference to connection string]
[recordsetName]_cmd.CommandText = "[SQL statement]"
[recordsetName]_cmd.Prepared = true
Set [recordsetName] = [recordsetName]_cmd.Execute so it's failing at the various points at which it's pulling the data into recordsets (the "Set [recordsetName] = [recordsetName]_cmd.Execute") - I'm pulling about about half a dozen recordsets out.
The page works fine on my development server, and on another shared server with a different hosting company (http://www.designstage.co.uk/healthcarealliances/default.asp), it also works.
As far as I can tell, all three servers are running Windows 2003 Server R2/ IIS6/ .NET1.1 so I'm scratching my head. I'm not really up on server setups, so I was wondering if it was possible that the client's host server might be really busy, and the errors because the page was timing out, but then being parsed correctly when the server was quiet again.
I can feel that I'm clutching at straws - diagnosing my specific problem from what I've said is probably not possible. I guess I'm just after hints or suggestions that I could follow up with my client's hosting company.
I think it's a problem with a shared server one of my sites is hosted on, and I'm trying to gauge whether anyone else has had a similar problem as it's driving me wild!
I've got a classic ASP page which is pulling recordsets out of an Access 2003 database file - there's no clever .NET trickery as I'm a bit old fashioned that way. The site is written using Dreamweaver CS3.
On my client's hosting server (http://www.healthcarealliances.co.uk/Public/newsite/default.asp), sometimes it works, sometimes it doesn't. When it doesn't work, the line that's reported with an error changes each time I hit the refresh button in my browser, and eventually the page will load again. The line numbers correspond to the last line of
Set [recordsetName]_cmd = Server.CreateObject ("ADODB.Command")
[recordsetName]_cmd.ActiveConnection = [reference to connection string]
[recordsetName]_cmd.CommandText = "[SQL statement]"
[recordsetName]_cmd.Prepared = true
Set [recordsetName] = [recordsetName]_cmd.Execute so it's failing at the various points at which it's pulling the data into recordsets (the "Set [recordsetName] = [recordsetName]_cmd.Execute") - I'm pulling about about half a dozen recordsets out.
The page works fine on my development server, and on another shared server with a different hosting company (http://www.designstage.co.uk/healthcarealliances/default.asp), it also works.
As far as I can tell, all three servers are running Windows 2003 Server R2/ IIS6/ .NET1.1 so I'm scratching my head. I'm not really up on server setups, so I was wondering if it was possible that the client's host server might be really busy, and the errors because the page was timing out, but then being parsed correctly when the server was quiet again.
I can feel that I'm clutching at straws - diagnosing my specific problem from what I've said is probably not possible. I guess I'm just after hints or suggestions that I could follow up with my client's hosting company.