TheCandyman
Technical User
I have a web app runing on IIS6, the page pulls info correctly as it did from a previous server but it just takes some time to do it(about a minute). My code fix was adding in the scripttimeout, but that doesn't seem to work anymore, i had this:
Error is:
Code:
<%
ScriptTimeout=100
...
...
Dim AttendeeGroup
Set AttendeeGroup = Server.CreateObject("ADODB.Recordset")
AttendeeGroup.ActiveConnection = MM_data_STRING
AttendeeGroup.Source = "SELECT DISTINCTROW Sum(Cost) AS AttendeeCost FROM tbl_Attendee GROUP BY GPID;"
AttendeeGroup.CursorType = 3
AttendeeGroup.CursorLocation = 2
AttendeeGroup.LockType = 1
AttendeeGroup.Open()
Code:
Active Server Pages error 'ASP 0113'
Script timed out
Totals.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.