Timeout expired

Please support our ASP advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Jun 2008
Posts: 25
Reputation: dips255 is an unknown quantity at this point 
Solved Threads: 0
dips255 dips255 is offline Offline
Light Poster

Timeout expired

 
0
  #1
Jan 6th, 2009
Hi

I often get this error on some of my asp pages

Microsoft OLE DB Provider for SQL Server error '80040e31'

Timeout expired

what should be done to resolve it?
is there any way to trace the error and show a custom message to the users instead of the above message
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 89
Reputation: msaqib is an unknown quantity at this point 
Solved Threads: 1
msaqib msaqib is offline Offline
Junior Poster in Training

Re: Timeout expired

 
0
  #2
Jan 25th, 2009
The quick solution is to refresh the page again. You will need to upgrade MDAC (Microsoft Data Access Controls) to the latest version.
http://www.microsoft.com/downloads/d...7-185d0506396c

Also try to refer to your SQL server with IP address instead of instance name or server name.

Another solution is to increase the timeout value in ASP script.

  1. <%
  2. Server.ScriptTimeout = 180
  3. %>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC