Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 12th, 2008, 08:06 AM
Authorized User
 
Join Date: Nov 2005
Location: , , Spain.
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default [Microsoft][ODBC SQL Server Driver] TIME OUT ERROR

Hi,

I have an AS page which has some loops, and executing it, it usddenly gives me an out of time error. In spanish it is
Code:
Microsoft OLE DB Provider for ODBC Drivers error '80040e31' 

[Microsoft][ODBC SQL Server Driver]Terminó el tiempo de espera 

/listados/listado68_excel_check.asp, línea 80
Line 80 has the next code
Code:
sql4="UPDATE mae_lped_ped set cant_final="&cant_final&" where cod_art="&rs2("cod_art")&" and cod_ped="&num_ped&""
rs4.open sql4,conn4
Now it would be logical to show up this error when it executes it the first time. But it passes let us say 50 times before it sows the error. so the Syntax must be good.

Anybody can help me with this one

Thx

Johny

  #2 (permalink)  
Old November 12th, 2008, 09:36 AM
Authorized User
 
Join Date: Nov 2005
Location: , , Spain.
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Ok, I found the bug!

Some codes before (a 50 lines) I did an SQl syntax, but never closed it afterwards. So after some 50 secs it gave me the out of time error.....
Am I glad that everything is working fine.....

Ok, back to work :-)





Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [42000] [Microsoft][ODBC driver for Oracle][ sanjeev jha General .NET 0 June 28th, 2008 12:50 AM
[Microsoft][ODBC SQL Driver]Connection is busy muthumari_p2003@yahoo.com Pro JSP 0 May 8th, 2006 07:51 AM
java.sql.SQLException: [Microsoft][ODBC Driver Man pvsharinath@gmail.com Java Databases 1 May 5th, 2005 02:40 AM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 03:48 PM
[ODBC Microsoft Access Driver] !!!Error!!! Varg_88 Classic ASP Databases 3 August 30th, 2004 06:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.