Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 30 second timeout accessing a website on Win 2003 web server

Status
Not open for further replies.

Neozero

MIS
Jul 7, 2000
49
US
i have a webserver that is running windows 2003 server web edition. When someone goes to the website, it takes 37 seconds for the page to pull up and it ends up timing out. The page is trying to query a database, and I have re-indexed the database and it still does the same thing. Also, the database is really small and the database server is maxed out with memory at 18GB and it has 4 processors and nothing else runs on that server so reallying it is somewhat overkill for what I am doing. The default timeout for the server is 30 seconds on the website. How can I change this timeout period to be say 40 seconds instead of 30? I can't find anything anywhere on the web that will allow me to change the timeout period. Any thoughts?


-Jason
 
depends where the timeout is happening... but for the web page to load, you could use this on the top of your ASP/VB page:

<%
Session.Timeout = 45
%>

if your timeout is occurring on the server, then the server timeout increase would be:

<%
Server.ScriptTimeout = 180
%>

hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top