//  home   //  advanced search   //  news   //  categories   //  sql build chart   //  downloads   //  statistics
 ASP FAQ 
Home
ASP FAQ Tutorials

   8000XXXX Errors
   ASP.NET 2.0
   Classic ASP 1.0
   Databases
   General Concepts
   Search Engine Optimization (SEO)

Contact Us
Site Map

Search

Web
aspfaq.com
tutorials.aspfaq.com

ASP FAQ Tutorials :: 8000XXXX Errors :: Why do I get 80040E54 errors?


Why do I get 80040E54 errors?

Provider error '80040E54' 
Number of rows with pending changes exceeded the limit.
 
This error can happen if you affect too many rows with an objRS.UpdateBatch call, or an ADODB.Recordset opened with adLockBatchOptimistic. Please, do yourself a favor. If you want to update rows in a table, use this methodology, instead of an efficient loop: 
 
conn.execute("UPDATE table SET column='value' WHERE [...]")
 
Using a recordset, which is meant for *retrieving* data, to enforce updates on a table is wasteful, and leads to errors such as this. For more information on avoiding a recordset for non-data-retrieving operations, see Article #2191
 
If you absolutely must use an ADODB.Recordset for updating rows, I encourage you to read Article #2191 again. If you *still* find that you need to do this (e.g. pointy-haired boss syndrome), make sure you break it into chunks, use a static or keyset cursor, and be sure that you always close your recordset objects / set them to nothing.

Related Articles

Why do I get 8002000A errors?
Why do I get 80040200 / 80040514 / 800A0E7A errors?
Why do I get 80040e09 errors?
Why do I get 80040E0C errors?
Why do I get 80040E10 errors?
Why do I get 80040E14 errors?
Why do I get 80040E21 errors?
Why do I get 80040E23 errors?
Why do I get 80040E24 errors?
Why do I get 80040E2F errors?
Why do I get 80040e30 errors?
Why do I get 80040E31 errors?
Why do I get 80040E37 errors?
Why do I get 80040e4e errors?
Why do I get 80040E57 / 80040E07 errors?
Why do I get 8004D00A errors?
Why do I get 80070070 errors?
Why do I get 800A01FB errors?
Why do I get 800A0BB9 / 800A1391 errors?
Why do I get 800A0C93 errors?
Why do I get 800a0cb3 errors?
Why do I get 800A0CC1 errors?
Why do I get 800A0E78 errors?
Why do I get 800A0E7C errors?
Why do I get 800A0E7D errors?
80004005 Errors
Can I use the NZ() function without getting 80040E14 errors?

 

 


Created: 9/20/2002 | Last Updated: 9/20/2002 | broken links | helpful | not helpful | statistics
© Copyright 2006, UBR, Inc. All Rights Reserved. (157)

 

Copyright 1999-2006, All rights reserved.
Finding content
Finding content.  An error has occured...