🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database
Article #2067

Re: Access Violation using MSACCESS

#2067
From: Kevin Wormington
Date: Fri, 18 Sep 1998 00:00
98 lines
3380 bytes
If you are using the ODBC driver, you might want to try the native msaccess
driver.

My .02

Kevin

Alan Buckle wrote in message <01bdc84f$8c9e0620$01000a0a@pentium1>...
>Hi there
>
>I am using Delphi 3.02  (BDE 4.51) as a front end to an MSAccess 7.0 (95)
>databases.
>
>The application is being used at two sites, no WAN available, and I've
>written a program to
>reconcile the updates carried out at the 'remote' (or slave) site with the
>'master' database.
>(A sort of replication situation, but didn't want to use MSAccess
>replication for
>reasons which I won't go into here.)
>
>The program opens the two  databases and walks the slave looking for
>updated records which it
>then updates in the master (after some checks). So far so good.
>
>The database size is in excess of 100 MB and has approx 70,000 company
>records with ancillary 'child' records.
>
>However after processing in excess of 18,000 records (18408 to be exact,
>not counting 'child' records ) I get
>______________________________________________________
>Access Violation at Address 4E5FA1F6 in module 'IDDAO32.DLL'.
>Write of Address 0000 0000 .
>______________________________________________________
>
>while running under NT4
>
>or
>______________________________________________________
>Access Violation at Address 4E5FA1F6 in module 'IDDAO32.DLL'.
>Read of Address FFFF FFFF .
>______________________________________________________
>
>under Windows 95 on the same record.
>
>There is nothing apparently the matter with the data, starting the program
>a hundred records
>or so before the record will not generate the error (until it has processed
>another 18000 records.)
>
>The failure was remarkably consistent across different machines with
>different operating systems
>and differing amounts of memory.  Always failing at the same record.  This
>suggests to me that some sort of
>application 'quota' is being exceeded somewhere.
>
>Using the debugger and stepping through the program shows that the failure
>occurs on a 'Next'
>statement.
>
>The databases are not corrupt, the have been repaired and compacted and
>indeed regenerated.
>
>Restart the program half way through the database and it will again fail
>after 18000 records or so.
>(This varies slightly).
>
>I'm tearing my few remaining hairs out at this stage. Does anyone have any
>ideas ??
>
>I'm reluctant to phone Borland (InPrise??) for support as past experience
>has shown that this tends to be a waste of time
>and money, at least in the Netherlands.
>
>
>Many Thanks
>
>
>Alan Buckle
>
>APB Computing bv.
>
>email : buckle@euronet.nl
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Technical Details
Message-ID: <blvM1.3249$kz3.544942@newscene.newscene.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bdc84f$8c9e0620$01000a0a@pentium1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffff5,276f600a65905796
X-Google-Attributes: gidffff5,public
X-Google-Thread: 115d96,276f600a65905796
X-Google-Attributes: gid115d96,public
From: "Kevin Wormington" <kworm@sofnet.com>
Subject: Re: Access Violation using MSACCESS
Date: 1998/09/18
Message-ID: <blvM1.3249$kz3.544942@newscene.newscene.com>
X-Deja-AN: 392438384
References: <01bdc84f$8c9e0620$01000a0a@pentium1>
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.delphi.database,comp.lang.pascal.delphi.databases