set Server.ScriptTimeout variable to 214783647.
it's maximum timeout value.
insert the following sentence at start line of your asp file.
<%
Server.ScriptTimeout=2147483647
%>
TheMSsForum.com: The Microsoft Software Forum