943,829 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 3455
  • ASP RSS
Jan 6th, 2009
0

Timeout expired

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
dips255 is offline Offline
36 posts
since Jun 2008
Jan 25th, 2009
0

Re: Timeout expired

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.

asp Syntax (Toggle Plain Text)
  1. <%
  2. Server.ScriptTimeout = 180
  3. %>
Reputation Points: 9
Solved Threads: 1
Junior Poster in Training
msaqib is offline Offline
91 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Building asp form
Next Thread in ASP Forum Timeline: Redirect problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC