If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Asp 0113

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-03, 04:07
rdlbooth rdlbooth is offline
Registered User
 
Join Date: Jul 2003
Posts: 2
ASP 0113 error

Hi,

I need some help please, I have set up a test MySQL dbase on my hosted webspace, the web server is running Linux and Chiliasp. The test ASP script I am trying to run is :

<%
on error resume next
dim adoConn
dim adoRS
dim counter
set adoConn = Server.CreateObject("ADODB.Connection")
set adoRS = Server.CreateObject("ADODB.Recordset")
adoConn.Open "Driver={mySQL}; Server=localhost; Database=dbscratch3db; Uid=dbscratch3; Pwd=wentworth;"
adoRS.ActiveConnection = adoConn
if adoConn.errors.count = 0 then
response.write "<h2>Fields In The 'tblscores' Table:</h2>"
adoRS.Open "describe tblscores"
while not adoRS.EOF
response.write adoRS.fields(0).value & "<br>"
adoRS.MoveNext
wend
else
response.write "ERROR: Couldn't connect to database"
end if
%>

THis script works fine on my local setup of W2K, IIS and MySQL however when I run it on my hosted web space I get this error :

Active Server Pages error 'ASP 0113'
Script timed out
/asp10/testcon.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 ASP administration tools.

Could anyone help please.

Thanks

Les

Last edited by rdlbooth; 07-22-03 at 07:26.
Reply With Quote
  #2 (permalink)  
Old 07-23-03, 01:06
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
at the top of your asp page put

Server.ScriptTimeOut = 3600
Reply With Quote
  #3 (permalink)  
Old 07-23-03, 02:24
rdlbooth rdlbooth is offline
Registered User
 
Join Date: Jul 2003
Posts: 2
Thanks for the info,
But putting Server.ScriptTimeOut = 3600 at the top of the script doesnt fix the problem.

Les
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On