If you are having a script timeout, in your ASP code add this line:
Server.ScriptTimeout = 10000000
If it is a SQL timeout follow these instructions from BOL:
How to set a time limit for remote queries (Enterprise Manager)
To set a time limit for remote queries
Expand a server group.
Right-click a server, and then click Properties.
Click the Connections tab.
Under Remote server connections, in the Query time-out (sec, 0 = unlimited) box, type or select a value from 0 through 2147483647 to set the maximum number seconds that Microsoft® SQL Server™ will wait before timing out.
Note Remote server connections must be allowed before this value can be set.
“If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.