Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old November 12th, 2008, 07: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


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
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
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



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

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 :-)

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:48 PM
[ODBC Microsoft Access Driver] !!!Error!!! Varg_88 Classic ASP Databases 3 August 30th, 2004 06:19 AM

All times are GMT -4. The time now is 10:22 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.