First of all check what is the server time out value. Put on top of the asp page you are running the following code.
Code:
<%
Response.write Server.ScriptTimeout
Response.end 'This will not execute any ASP code below.
%>
Then after determining what is the current timeout value, you can replace the above added code with the following:
Code:
<%
Server.ScriptTimeout=1800
%>
Remember the value is equal to no. of seconds.
Hope this Helps...
Khurram.