
Acc 97 SP1 crash at 0x0400a0af
Quote:
> This problem, or something very similar, has been coming up a lot with some
> people (including me) on NT 4 SP3, but the cause is unclear.
> The only suggestions I have are:
> 1. Make sure you are using the latest version of Jet (3.51), available on
> the MS web site.
Is this version later than the Service Pack 1 version? We have Service Pack 1
installed.
What version does the dll report for v3.51? I have 3.50.3907.5. There are also
two earlier versions:
v3.50.3428.0 - from Access 97 GA
v3.50.3602.4 - from the MSVC v5 install disk
BTW, the MSVC v4 version of msjet35.dll will prevent Service Pack 1 from
updating to the later version. See:
ACC97: MS Office 97 SR-1 Patch Fails to Patch MS Jet Files
http://support.microsoft.com/support/kb/articles/q174/3/09.asp
On further investigation:
3.51.0623.4 is the latest. So it is even later than the service pak one.
Quote:
> 2. Make sure you are closing all recordsets when done and setting all
> objects (especially database variables) to nothing after using them.
Well, I try to do that. But no doubt I've missed a few places.Okay, time to go
thru thousands of lines of code with a fine tooth comb. <g>
Quote:
> 3. Do not use global variables for database and recordsets.
> This worked for me on the 0xc0000005 errors, except for an
> MSINFO32.exe-produced 0xc0000005 error (and it also solved almost all "out
> of memory" errors), but could be yours has a different cause.
Geez, I use global variables for recordsets a lot because this code was
originally written in Access v2.0 and it isn't possible to pass a recordset to a
subroutine and have the subroutine set the recordset variable.
Quote:
> Other suggestions include: change or delete your printer driver, and change
> your video driver (to something simpler).
Yes, I've instructed the guy who has
Quote:
> It might not hurt to import all objects into a new database from your old
> database, and re-compact the database. For a different problem, people have
> suggested the /decompile switch and then recompiling.
> P.S. Is your problem on Pentium Pro's?
Yes, PentPro 200. Interestingly it doesn't happen on some PentPro 200's. My own
machine (dual PentPro 200 NT4 SP3) has no problem at all with the same database.
Quote:
> >We have an NT4 SP3 machine in which MS Access 97 with SP1 has an
> >application error that throws it into Dr Watson while executing basic code
> >at address 0x0400a0af. The exception is 0xC0000005.
> >Another machine running thru that same code doesn't have that problem. We
> >have noticed one thing different about the two machines: They do not have
> >the same revision of msjet35.dll. This is unexpected because both machines
> >have NT SP3 and Office 97 service pak 1 applied.
> >_Both_ machines have MSAccess.exe from the same date and version: 07/11/97
> >and 8.0.0.4122. They also match for all other dll dates and versions as
> seen
> >in the Dependency Walker.
> >The machine whose MS Access does _not_ have the application error has
> >msjet35.dll of 12/16/96 and version 3.50.3602.4.
> >Oddly, the machine that does get the application error has a later
> >msjet35.dll whose date matches the date for MSAccess.exe: 07/11/97 and has
> a
> >later file version/product version: 3.50.3907.5.
> >We have 2 machines which had the following install sequence:
> > NT v4
> > NT v4 SP3
> > Office 97
> > Office 97 SP1
> > Both have the older version of msjet35.dll
> >The machine that is having the application error had the following install
> >sequence:
> > NT v4
> > Office 97
> > NT v4 SP3
> > Office 97 SP1
> >Did something else put that newer msjet35.dll there? I need to understand
> >why it isn't always rev'ved.
> >I also need to know whether this later msjet35.dll might be causing the
> >application error. We tried putting the msjet35.dll from the machine that
> >doesn't have the application errors to the one that does and that actually
> >made it worse. It happens sooner.
> >Any ideas?