473,725 Members | 2,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DAO 3035 error, update problem under Windows XP x64; "system resource exceeded"

I get a run-time error 3035 ("system resources exceeded") running DAO code
in XP x64 that works fine under 32-bit XP. It updates 405,000 records.

Dim dbs as DAO.Database
If dbs=Nothing Then Set dbs=CurrentDb()
DAO.DBEngine.Be ginTrans
dbs.Execute "UPDATE tblFoo SET [fldFoo]= [fldFoo] + 50;",
dbFailOnError '<<<<<< FAILS ON THIS LINE
DAO.DBEngine.Co mmitTrans

I've already set the registry to allow this update (the crucial one being
MaxLocksPerFile , which is set to hex 16e360 (=1,500,000 records, much more
than the 400,000 records I'm updating):

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Jet\4.0 \Engines\Jet 4.0]
"PageTimeout"=d word:00001388
"LockRetry"=dwo rd:00000014
"MaxBufferSize" =dword:00000000
"Threads"=dword :00000006
"ExclusiveAsync Delay"=dword:00 0007d0
"SharedAsyncDel ay"=dword:00000 032
"FlushTransacti onTimeout"=dwor d:000001f4
"MaxLocksPerFil e"=dword:0016e3 60
"LockDelay"=dwo rd:00000064
"RecycleLVs"=dw ord:00000000
"PagesLockedToT ableLock"=dword :00000000
"UserCommitSync "="yes"
"ImplicitCommit Sync"="no"

I can do the update manually with a query (after clicking ok to the message
about insufficient resources to rollback this update), but I can't do it
with code. (I know I can call a query to do an update but I don't want to
have to have a query for every field I update in the table, as opposed to
dynamic Sql--also, this error says something is not right with my setup in
x64.)

I appreciate any thoughts on what's wrong.

Nov 13 '05 #1
1 11709
Never mind--I solved the problem. I forgot about the registry changes in
x64. The Jet 4.0 settings have to be changed under the WOW64 key to have an
effect.

"Manuel Lopez" <ma************ *************** ***@deadspam.co m> wrote in
message news:aJ******** *************** *******@comcast .com...
I get a run-time error 3035 ("system resources exceeded") running DAO code
in XP x64 that works fine under 32-bit XP. It updates 405,000 records.

Dim dbs as DAO.Database
If dbs=Nothing Then Set dbs=CurrentDb()
DAO.DBEngine.Be ginTrans
dbs.Execute "UPDATE tblFoo SET [fldFoo]= [fldFoo] + 50;",
dbFailOnError '<<<<<< FAILS ON THIS LINE
DAO.DBEngine.Co mmitTrans

I've already set the registry to allow this update (the crucial one being
MaxLocksPerFile , which is set to hex 16e360 (=1,500,000 records, much more
than the 400,000 records I'm updating):

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Jet\4.0 \Engines\Jet 4.0]
"PageTimeout"=d word:00001388
"LockRetry"=dwo rd:00000014
"MaxBufferSize" =dword:00000000
"Threads"=dword :00000006
"ExclusiveAsync Delay"=dword:00 0007d0
"SharedAsyncDel ay"=dword:00000 032
"FlushTransacti onTimeout"=dwor d:000001f4
"MaxLocksPerFil e"=dword:0016e3 60
"LockDelay"=dwo rd:00000064
"RecycleLVs"=dw ord:00000000
"PagesLockedToT ableLock"=dword :00000000
"UserCommitSync "="yes"
"ImplicitCommit Sync"="no"

I can do the update manually with a query (after clicking ok to the
message about insufficient resources to rollback this update), but I can't
do it with code. (I know I can call a query to do an update but I don't
want to have to have a query for every field I update in the table, as
opposed to dynamic Sql--also, this error says something is not right with
my setup in x64.)

I appreciate any thoughts on what's wrong.


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3006
by: Paul T. Rong | last post by:
I can not understand why the message appears everytime when I install the packed app (using 2k PDW) "error while registering C:\WINDOWS\SYSTEM\MSADO21.TLB"(I don't remember exactly what it says), Ok, you can ignore it, and the installation does finish successfully, but will it influnce the function of my app? Any idea will be very much appreciated. Paul
9
1964
by: /* frank */ | last post by:
I want system ("CLS") if the system is WINDOWS system ("CLEAR") is the OS is a UNIX like.
0
1988
by: huobazi | last post by:
I have many dropdownlist controls in my ascx (and use LoadControl in a aspx fiel) file,so i write a method "InitList(DropDownList list,string strsql,string TextField,string ValueField)" but when i want to get the BigClassList.SelectedItem.Text and BigClassList.SelectedItem.Value in a button onclick method,btnSmallClassEdit_Click(....),there post an error " System.NullReferenceException: 佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£", I Don't know the...
0
1644
by: Chris Hayes | last post by:
I've seen that when an HTTP 400 error occurs ("Maximum request length exceeded") that some of my Session level variables and Cookies get "lost" is there a way to preserve them without resorting to storing them as Application level variables (naming them with the SessionID)? Just curious... Thanks, Chris
2
4813
by: TG | last post by:
I'm using the System.DirectoryServices.DirectorySearcher.Findall method to attempt to retrieve user id's from an Exchange LDAP server. I get the error message "The administrative limit for this request was exceeded". Can someone please tell me if you've seen this and what the cause is? Thanks
2
1793
by: Matt | last post by:
I'm working on a plug-in for an application called DesktopSideBar for Windows. It emulates to some degree the Longhorn sidebar. The SDK for DesktopSideBar supports .NET plug-in development through COM Interop and a provided reference DLL. In the SDK are two included samples... One, called RecycleBin is written entirely in unmanaged C++ as a normal DLL. The second, StickerPanel, is written in C#. My first exercise was porting StickerPanel...
1
4035
by: lawrence k | last post by:
I've a site where I've just installed a new version of phpMyAdmin (version 2.8.1). I can't get it to work. I'm getting this error: Warning: session_write_close(): write failed: Disk quota exceeded Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)
1
2955
by: epatrick | last post by:
I have a series of custom controls developed under ASP.NET 1.1, and I've successfully migrated to ASP.NET 2.0. I have also developed a custom class dervied from System.Web.UI.Page, called qbo.Web.Page. All of these controls compile and run correctly under ASP.NET 2.0. However, several of these controls throw an error in the design mode of VS.NET 2005. Specifically, controls that include a property override of Page (to cast as a...
3
10074
by: lawrence k | last post by:
This is weird. When I use getId3 to try to read meta tags out of multimedia files, I get this error: Fatal error: Maximum execution time of 30 seconds exceeded in /home/ httpd/vhosts/bluewallmultimedia.com/httpdocs/getid3/getid3/ getid3.lib.php on line 54 But if I run phpinfo(), I get this:
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9116
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.