Ask a Question related to ASP Database, Design and Development.
-
Brian Peddle #1
Recent Timeout Error
I recently moved hosting companies, we went from a Windows 2000 environment to a Windows 2003 environmennt.
Since the move I have started to get timeout errors about once a day. I maybe got an error like this once every 4 months before the move.
Microsoft OLE DB Provider for SQL Server (0x80040E31)
Timeout expired
It will occur for any page with a query and it can last anywhere from 30 min to 3 hours before it corrects itself.
Has anyone every seen this behavior when switching 2000 -> 2003. Any suggestions for tracking why its happening. I look in the SQL logs and nothing standouts.
Brian Peddle Guest
-
timeout expired error
I am using visual web developer and the odbc driver to connect to a mysql database. It seems like every four or five connections to the database... -
Max Timeout Error
My database has 15,000 records. When doing a select statement (with php.ini timeout set to 30 seconds) I get a timeout error from php. I've set... -
SQL Timeout Error
Here is the error I get when I run a form of a sql server 2000 box after about 40 seconds. System.Data.SqlClient.SqlException: Timeout expired.... -
** TIMEOUT ERROR WITH PROXY -- HELP !**
I'm becoming *crazy* with a problem: * I have a simple WebService, called "HelloWorld" * I access the web server using a proxy (SQUID on linux). *... -
WebService TimeOut Error
I have 2 forms, where Form2 is displayed modeless-ly ( i.e. Form2.Show() ) from Form1. Form1 contains a Windows.Forms.Timer which triggers at 30... -
Steven Cheng[MSFT] #2
RE: Recent Timeout Error
Hi Biran,
Thank you for posting here. Regarding on the issue, I am
finding proper resource to assist you and we will update as soon as posible.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security(This[/url] posting is provided "AS IS",
with no warranties, and confers no rights.)
Steven Cheng[MSFT] Guest
-
Manohar Kamath [MVP] #3
Re: Recent Timeout Error
Looks like a Command timeout to me, try increasing your command timeout
property on the connection object and see if this solves the problem.
This could happen because the SQL server is not on the same subnet as your
IIS server. While you can not do much about this (since your hosting
provider controls the infrastructure), you can try to write queries that are
faster (using stored procedures) or optimized to run faster (tweaking the
query clauses, etc.)
--
Manohar Kamath
Editor, .netWire
[url]www.dotnetwire.com[/url]
"Brian Peddle" <brian@nospam.com> wrote in message
news:eg2YGGMcEHA.996@TK2MSFTNGP12.phx.gbl...
I recently moved hosting companies, we went from a Windows 2000 environment
to a Windows 2003 environmennt.
Since the move I have started to get timeout errors about once a day. I
maybe got an error like this once every 4 months before the move.
Microsoft OLE DB Provider for SQL Server (0x80040E31)
Timeout expired
It will occur for any page with a query and it can last anywhere from 30 min
to 3 hours before it corrects itself.
Has anyone every seen this behavior when switching 2000 -> 2003. Any
suggestions for tracking why its happening. I look in the SQL logs and
nothing standouts.
Manohar Kamath [MVP] Guest
-
Yan-Hong Huang[MSFT] #4
RE: Recent Timeout Error
Hello Brian,
I was reviewing the issue thread. Did you resolve the problem by enlarging
connection timeout value? If the problem is not resolved yet, please feel
free to post here and we will follow up.
A quick code sample should like:
set conn = server.createobject("adodb.connection")
conn.connectionTimeout = x
conn.commandTimeout = x
(x should be in seconds)
Thanks.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C [url]www.microsoft.com/security[/url]
Register to Access MSDN Managed Newsgroups!
-http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as
p&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
Yan-Hong Huang[MSFT] Guest



Reply With Quote

