I have encountered some interesting crashes lately (Access97). Here is
the symptom (after several days of different kinds of rebuilds
including import and LoadFromText, all resulting in databases with the
same symptoms).
1) Working database, Compile/Save All works, Create MDE works
2) Touch the references (mark a new reference, OK, then Unmark)
3) Create MDE works
4) Compile/Save All works
5) Now try creating MDE from the compiled state, CRASH (vba332.dll
access violation)
HMM...so the story continues
6) /decompile the database from step 5
5) You find yourself back at step 3 where you can build an MDE from an
uncompiled state. You can compile/save all without error, but if you
try to create an MDE from a compiled state then CRASH in vba332.dll
Obviously something wierd with references -- but what?? All the file
locations, regsvr32 registration, and versions check out. I am using
quite a few external DLL and OCX files (in addition to the standard 3
Access/VBA/DAO I have 10 references). This database and the set of
references has not given me any problems in the past. Recenty I added
one new OCX (IP*Works FileMailer). In fact a backup copy of the
database from a year ago with the same set of references (including the
new fileml60.ocx) does NOT exhibit this same behavior...
I've read some good stuff on how references work: http://allenbrowne.com/ser-38.html
but no google/group search show anyone else experiencing this. Any
help is seriously appreciated 9 4505
fishbaugher wrote: I have encountered some interesting crashes lately (Access97). Here
is the symptom (after several days of different kinds of rebuilds including import and LoadFromText, all resulting in databases with
the same symptoms).
1) Working database, Compile/Save All works, Create MDE works 2) Touch the references (mark a new reference, OK, then Unmark) 3) Create MDE works 4) Compile/Save All works 5) Now try creating MDE from the compiled state, CRASH (vba332.dll access violation)
HMM...so the story continues
6) /decompile the database from step 5 5) You find yourself back at step 3 where you can build an MDE from
an uncompiled state. You can compile/save all without error, but if you try to create an MDE from a compiled state then CRASH in vba332.dll
Obviously something wierd with references -- but what?? All the file locations, regsvr32 registration, and versions check out. I am using quite a few external DLL and OCX files (in addition to the standard 3 Access/VBA/DAO I have 10 references). This database and the set of references has not given me any problems in the past. Recenty I
added one new OCX (IP*Works FileMailer). In fact a backup copy of the database from a year ago with the same set of references (including
the new fileml60.ocx) does NOT exhibit this same behavior...
I've read some good stuff on how references work:
http://allenbrowne.com/ser-38.html
but no google/group search show anyone else experiencing this. Any help is seriously appreciated
I'm curious about a few things...
1) Are the references in your working backup copy of the database (the
one from which you can create a compiled MDE) in the same order as the
references in the current database (the one from which your MDE
crashes)?
2) Do the references in your working backup copy refer to exactly the
same files? While the reference names (e.g.'Microsoft DAO 3.6 Object
Library' may be the same in both databases, they might point to
different underlying files.
3) Are the working backup and the current database identical? I'm curious about a few things...
1) Are the references in your working backup copy of the database
(the one from which you can create a compiled MDE) in the same order as
the references in the current database (the one from which your MDE crashes)?
I've isolated the problem even further since my last post. I start
with a working backup copy of my MDB file (compile/save OK, MDE build
from compiled state OK) with the following references:
ReferenceName FullPath Version
VBA C:\Program Files\Common Files\Microsoft
Shared\VBA\VBA3 32.DLL 3.0.0.7019
Access C:\Program Files\Microsoft
Office97\Office \MSACC8.OLB 8.0.0.3512
DAO C:\Program Files\Common Files\Microsoft
Shared\DAO\DAO3 50.DLL 3.51.1608.0
DUZACTXLib c:\windows\syst em32\duzactx.dl l 4.0.0.4
DZACTXLib c:\windows\syst em32\dzactx.dll 4.0.0.4
MSMAPI C:\WINDOWS\syst em32\MSMAPI32.O CX 6.0.81.69
csXImage C:\WINDOWS\syst em32\csXImage.o cx 1.3.0.6
MSComDlg C:\WINDOWS\syst em32\comdlg32.o cx 6.0.84.18
PWSTREETLib C:\WINDOWS\syst em32\Pwstrv2.oc x 2.0.0.40
IMAGETHUMB C:\WINDOWS\syst em32\ImageThumb nailCP.ocx 1.0.0.1
MSComCtl2 C:\WINDOWS\syst em32\MSCOMCT2.O CX 6.0.81.77
CRCCTRLLib C:\WINDOWS\syst em32\CrcCtrl.oc x 1.1.0.0
I then make a copy of the MDB file. Then if I even TOUCH the
references (either by adding anything or just marking then unmarking a
reference) the MDE build from an UNCOMPILED state still works. If I
then do a Compile/Save All, subsequent MDE builds crash vba332.dll as
indicated during the MDE build.
TIA
fishbaugher wrote: I have encountered some interesting crashes lately (Access97). Here is the symptom (after several days of different kinds of rebuilds including import and LoadFromText, all resulting in databases with the same symptoms).
1) Working database, Compile/Save All works, Create MDE works 2) Touch the references (mark a new reference, OK, then Unmark) 3) Create MDE works 4) Compile/Save All works 5) Now try creating MDE from the compiled state, CRASH (vba332.dll access violation)
HMM...so the story continues
6) /decompile the database from step 5 5) You find yourself back at step 3 where you can build an MDE from an uncompiled state. You can compile/save all without error, but if you try to create an MDE from a compiled state then CRASH in vba332.dll
Obviously something wierd with references -- but what?? All the file locations, regsvr32 registration, and versions check out. I am using quite a few external DLL and OCX files (in addition to the standard 3 Access/VBA/DAO I have 10 references). This database and the set of references has not given me any problems in the past. Recenty I added one new OCX (IP*Works FileMailer). In fact a backup copy of the database from a year ago with the same set of references (including the new fileml60.ocx) does NOT exhibit this same behavior...
I've read some good stuff on how references work:
http://allenbrowne.com/ser-38.html
but no google/group search show anyone else experiencing this. Any help is seriously appreciated
fish,
This may help http://support.microsoft.com/default...b;en-us;302986
Make sure that any references to DbEngine methods (in your code) are
explicitly qualified with the "dbengine" keyword. Eg.
dbengine.openda tabase, not just opendatabase.
Omitting that keyword can cause weird DAO licencing errors, including
the inability to create an MDE.
HTH,
TC
fishbaugher wrote: I have encountered some interesting crashes lately (Access97). Here is the symptom (after several days of different kinds of rebuilds including import and LoadFromText, all resulting in databases with the same symptoms).
1) Working database, Compile/Save All works, Create MDE works 2) Touch the references (mark a new reference, OK, then Unmark) 3) Create MDE works 4) Compile/Save All works 5) Now try creating MDE from the compiled state, CRASH (vba332.dll access violation)
My main app that I work on has behaved similarly for a couple years now. I
can work on it and compile open modules, but if I do a "Compile and Save All
Modules" it will work, but I am unable to make an MDE from the result. I
tried _every_ method of fixing it to no avail so I just stopped doing full
compiles on it.
My deployment routine now is...
Compact onto a separate copy
Make MDE from that separate copy
Compact from separate copy back onto original
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
DFS wrote: fish,
This may help http://support.microsoft.com/default...b;en-us;302986
Yes, I had seen this article. Rather scary to think that VBA does not
protect its OWN reserved word name space. Rather implies that the MS
VBA compiler is --- do I dare say it -- BROKEN.
In anycase, I have reviewed my function/proc names to ensure there is
nothing that looks like a reserved word. Which leaves 'database
corruption' as the only other offered explanation.
Rick,
This sounds like my EXACT symptom. Thanks for sharing with me. Maybe
we can hunt down the root cause together. I also have tried every
concievable rebuild method to no avail. That includes a complete
rebuild from text (having recently discovered the loadfromtext
methods). I strongly suspect something is going on with reference.
What does your list of references look like?
Have you noticed any strange interactions with references? Have you
tried making MDEs directly after a /decompile? When you make an MDE
from a compile state, does MSAccess crash in vba332.dll?
MJF
fishbaugher wrote: Rick,
This sounds like my EXACT symptom. Thanks for sharing with me. Maybe we can hunt down the root cause together. I also have tried every concievable rebuild method to no avail. That includes a complete rebuild from text (having recently discovered the loadfromtext methods). I strongly suspect something is going on with reference. What does your list of references look like?
I never have anything but the default three references in my apps.
VBA
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA3 32.DLL
Access
C:\Program Files\access97\ Microsoft Office\Office\M SACC8.OLB
DAO
C:\Program Files\Common Files\Microsoft Shared\DAO\DAO3 50.DLL
Have you noticed any strange interactions with references? Have you tried making MDEs directly after a /decompile? When you make an MDE from a compile state, does MSAccess crash in vba332.dll?
I can make MDE after a decompile. I can make an MDE _any_ time with the one
exception being if I do a "Save and Compile All".
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com I never have anything but the default three references in my apps.
VBA C:\Program Files\Common Files\Microsoft Shared\VBA\VBA3 32.DLL Access C:\Program Files\access97\ Microsoft Office\Office\M SACC8.OLB DAO C:\Program Files\Common Files\Microsoft Shared\DAO\DAO3 50.DLL
Have you noticed any strange interactions with references? Have
you tried making MDEs directly after a /decompile? When you make an
MDE from a compile state, does MSAccess crash in vba332.dll? I can make MDE after a decompile. I can make an MDE _any_ time with
the one exception being if I do a "Save and Compile All".
Have you tried refreshing your references? Just add any reference,
press OK, then go back and unselect the reference. Then try an MDE
build from a compiled state. Does that make a difference? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joseph |
last post by:
Hi
I'm writing a commercial program which must be reliable. It has to do
some basic reading and writing to and from files on the hard disk,
and also to a floppy.
I have foreseen a potential problem. The program may crash
unexpectedly while writing to the file. If so, my program should
detect this during startup, and then (during startup) probably delete the
data added to the file and redo the writing operation.
|
by: roni |
last post by:
hi.
i have application written in vb.net + managed c++ dll that call also to
unmanaged c++ function.
the application crash.
i open the dump file of the crash with WinDbg and that's is the call stack
(using the sos.dll) :
=====================================
|
by: xixi |
last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server
start , i found this in the db2diag.log, is this error?
2004-05-05-15.28.30.780000 Instance:DB2 Node:000
PID:1692(db2syscs.exe) TID:2860 Appid:AC10040A.GD5F.00FC56D8BEC5
base sys utilities sqledint Probe:30
Crash Recovery is needed.
2004-05-05-15.28.31.890000 Instance:DB2 Node:000
|
by: Adam Louis |
last post by:
I would like help resolving this problem. I'm a novice who's been
hired to query a hospital database and extract useful information,
available to me only in a dynamically generated, downloadable .mdb.
The query below query runs correctly and without error, but any
attempt to save it causes Access to crash without a message, leaving
the .ldb file. Opening the DB reveals it saved a blank "query1".
I've upgraded to Jet SP 8, and I'm running...
|
by: Jeffrey W. Baker |
last post by:
Greetings,
I have a 23GB data table upon which I am building a primary key of three
columns. The data is mounted in a 137GB device and pg_xlog is mounted
on a separate 3.5GB device. I have configured 24 checkpoint segments,
which I expect gives me a worst-case usage in pg_xlog of 384MB.
Unfortunately, during the CREATE INDEX, pg_xlog becomes full!
| |
by: badboybrown |
last post by:
Hello,
Is it possible to step through the "Create MDE" process and see what is
causing Access to crash?
I tried, unsuccessfully, many times to create an MDE from my database.
But, randomly, I checked the "Allow Full Menus" in the Startup section.
I was then able to create an MDE.
That worked once. It has not worked since and I don't particularly
|
by: NewToCPP |
last post by:
Hi,
Why does a C/C++ programs crash?
When there is access to a null pointer or some thing like that programs
crash, but why do they crash?
Thanks.
|
by: benjamin.krulewitch |
last post by:
I'm debugging an issue with a C program that causes the computer to
crash, and I'm attempting to log information immediately before the
crash occurs. I us my BKprintLog function (see below) to write
information into a log file. The problem is, i'm not confident that
information i write to the log gets saved onto the hard drive before
the crash occurs.
My understanding of hard drives and OS are that because hard drives are
so slow,...
|
by: =?Utf-8?B?R2VyaGFyZA==?= |
last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit
(using .net version 3.5) is closed before the Ajax enable controls complete
loading, then IE locks up. Does it in both IE7 and IE8. There is no issue
when the controls are allowed to complete loading.
Can you please tell me the best practice that handles this?
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |