Solved

Access 97 - runing an application causes blank message with exclamation point

Posted on 2002-03-07
20
319 Views
Last Modified: 2008-03-17
When clicking on a Access 97 database application, a blank error message box with an exclamation point appears.  Clicking OK takes you to the application BUT the buttons do not function.

Please note the following:
- OS: Windows 2000 with Office 2000 (Access 2000 disabled);
- The problem occurs *only* on this computer and it appears to occur with *all* Access 97 database applications;

Some history:
The database apps initially worked [on this computer] until Office 2000 decided that Access 2000 should become primary over Access 97 (just on its own after a boot up).  I then removed Access 2000 entirely which than set off a chain of events that led me to entering this query here on EE.

Additionally, I've notice that when starting the add in manager, the error "error in loading dll" appears.  However, I'm not sure if this is related.

200 bonus points if this question is answered by tomorrow (Friday) - or suggestion is given leading to a solution.  No! Re-installing Windows 2000 is NOT a solution!

Thank you,
Shawn
0
Comment
Question by:sconnell
  • 6
  • 4
  • 3
  • +5
20 Comments
 
LVL 1

Expert Comment

by:CareyMBilyeu
ID: 6848476
Sounds to me like you might want to re-install Access 97.

Question: Why do you have Access 2000 disabled? What happens when you enable Access 2000?

Cheers
0
 
LVL 4

Author Comment

by:sconnell
ID: 6848531
Carey, I should point out that I have re-installed Access 97 alone and with Access 2000.  

I took away Access 2000 by simply renaming it to msaccess.exe-stop.  

Why? Because for some reason, Office 2000 keep detecting that it wasn't working and it would place another copy of the .exe in the Office folder.  Besides, I've had problems with clients converting an Access 97 database to 2000 which renders the database inaccessable to the rest of the group.

At any rate, re-installing yields the exact same results.

I suppose what I need to know is what is causing this and where in the registry can this be fixed?

Thank you,
Shawn
0
 
LVL 1

Expert Comment

by:CareyMBilyeu
ID: 6848568
I am doing some research, BUT:

Is Access 2000 needed on this machine. If not, have you tried uninstalling MS Access 2000 rather than renaming the .exe?

If Access 2000 is not needed, could you (I know, sounds like a lot of work), completely un-install Office 2000, un-install Office 97, re-install Office 97, including MS Access 97, and then upgrade the Office 2000 WITHOUT installing Access 2000?

I will continue looking for other solutions.
0
 
LVL 8

Expert Comment

by:dovholuk
ID: 6849587
it sounds like you've gotten some crossed references. open the access97 app and create / edit a module. form the module window, choose the tools menu and the references... option. check to see if you have any MISSING references. if not, check ONE of the references ON (remember exactly the one you check) and close access. re-open access, open the references... option again, and uncheck the reference you just added. this effectively forces access to "re-link" for lack of a better description the libraries that access uses.

if this doesn't work, let us know and we'll go from there! :)

dovholuk
0
 
LVL 57
ID: 6850218
Worse, I think you have mixed .DLLS in the system.  Your going to need to un-install Access 97 manually, then re-install.

Here's a link to a MSKB article that tells you how to completly uninstall A97:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q163997

  Make sure you follow it.  Skipping even one DLL can be a problem.

Jim.
0
 
LVL 57
ID: 6850222
Just one other thought.  Before doing the uninstall, try switching to a standard VGA video driver.

I've found problems with a lot of drivers that are certified for Win 2000, yet cause problems with many apps (i.e. pcAnywhere).

Jim.

0
 
LVL 5

Expert Comment

by:chewhoung
ID: 6852417
for having both Office 97 and 2000 on one pc, you have to install Office 2000 first.

Then you install O97 into another directory. Change the default when it prompts you.

Then only you can have both Access 97 and 2000 running on one machine.
0
 
LVL 5

Expert Comment

by:chewhoung
ID: 6852419
suggest u uninstall both O2000 and O97/A97 and reinstall the way i mention above.
0
 
LVL 57
ID: 6852573
chewhoung,

  Actually, Microsoft suggests install A97 first, then A2000.

Here's a MSKB article that show you some of the special steps rquired if you do it the other way around and discusses in general the things required for both to co-exist:

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q241141

Jim.
0
 
LVL 1

Expert Comment

by:AAMFK
ID: 6853303
im sorry these people are crazy.

somewhere you probable have an errhandler that is missing the cleanexit routine.

this is how i typically do errhandling

public function HowOldAmI(birthdate as date) as integer
    on error goto errhandler

HowOldAmI = DateDiff("yy", birthdate, date())

Cleanexit:
exit function

Errhandler:
Msgbox err.number & " - " & err.description, vbokonly
resume (or resume next, depending on how much i have tested this)
End Function

The cleanexit portion of this function allows you to exit the function without an error.  if you were to leave out the 'exit function' portion of this code, it would produce a blank msgbox.

if you want an easy way to find this, if you would hit CTRL+BRK when you see this box, it will dump you into the code where it is happening.

Also, you could put a clause in the errhandler that said if err.number = 0 then exit function

but that would be a little sloppy and would slow things down a little.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 57
ID: 6853475
Crazy or not, the fact that it happens with *all* databases opened on this one machine suggests quite strongly that it's the environment on that PC that is the problem, not error handling in the database.
0
 
LVL 4

Author Comment

by:sconnell
ID: 6909298
Okay, you're all crazy! :-)

Are you ready for this?  Are you sure?  

Here is the answer!

I've been plagued with this problem intermittently for about six months or so... but a few days ago, in a frantic desperation to get the databases working on a new Windows 2000 install, accidentally discovered the solution (confirmed repeatability too!).

I asked, are you ready?

Well, it seems that if I open each of the databases, ignore the error (exclamation point), close each one, open each one - again and again - about 5 times each, the errors (BELIVE IT OR NOT) gradually go away, the program buttons begin to work... and finally all the database programs work without further error (even after reboot)!!!

I tried this technique on several other Win2K/Office2K systems with the same results!!

I'm not kidding and I cannot explain this!

There you have it!
Shawn

P.S. I'm still willing to offer the points for the first with a reasonable explaination on what just happened!!
0
 
LVL 1

Expert Comment

by:CareyMBilyeu
ID: 6910008
Geez, you sure it's not that dreaded "I-D Ten T" error???

Never heard of that, self correcting applications. It Lives!!!!!

Cheers
0
 
LVL 57
ID: 6910158
Shawn,

  Very interesting.  Do you think Win 2000 is not as good as some people think? Naw couldn't be....<g>

Jim.
0
 
LVL 4

Author Comment

by:sconnell
ID: 6910274
What? You have a problem with W2K?  Since migrating W2K across this company, my support problems drop to near 0.  Mind you, it's no Sun OS or Unix terminal... but Microsoft did a very good job with W2K.

This morning, I tried the same technique on a third computer with same database errors.  All errors disappeared after about 15 trys.  Anyone know why this occurs?
0
 
LVL 57
ID: 6910348
<<What? You have a problem with W2K?  Since migrating W2K across this company, my support problems drop
to near 0.  Mind you, it's no Sun OS or Unix terminal... but Microsoft did a very good job with W2K.
>>

  Granted it's a far sight better then anything in the past, but it's still not there.  Case in point, brand new Dell Pre-loaded with Win 2K.  Right-click on desktop, select properties, and hello blue screen.  Bad video driver and it was even Win 2K certified.  Go figure.

<<Anyone know why this occurs? >>
At a guess, I would assume that compile errors are being cleaned up.  This could be for a wide range of reasons.

To try and pin that down a bit more, if you still have problem stations, try opening one of the databases with the /decompile switch:

C:\...\msaccess.exe /decompile "C:\...\myapp.MDB"

  After opening close the MDB and Access, then re-open and do a Compile/save all.  See if you get any errors.  If not, try running the app.  If this cleans everything up in one try, then it's a bad compiled code.  Why it's bad could be because of any number of reasons.

Jim.

0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7015205
Some of your open 23 questions are current, but many are not.  ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101, Netminder or Mindphaser will return to finalize these if they are still open in 7 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.20022366.html
http://www.experts-exchange.com/questions/Q.20022363.html
http://www.experts-exchange.com/questions/Q.20142011.html
http://www.experts-exchange.com/questions/Q.20163170.html
http://www.experts-exchange.com/questions/Q.20163198.html
http://www.experts-exchange.com/questions/Q.20165526.html
http://www.experts-exchange.com/questions/Q.20165532.html
http://www.experts-exchange.com/questions/Q.20175313.html
http://www.experts-exchange.com/questions/Q.20176088.html
http://www.experts-exchange.com/questions/Q.20188199.html
http://www.experts-exchange.com/questions/Q.20188197.html
http://www.experts-exchange.com/questions/Q.20191317.html
http://www.experts-exchange.com/questions/Q.20191318.html
http://www.experts-exchange.com/questions/Q.20191319.html
http://www.experts-exchange.com/questions/Q.20194139.html
http://www.experts-exchange.com/questions/Q.20251645.html
http://www.experts-exchange.com/questions/Q.20263647.html
http://www.experts-exchange.com/questions/Q.20266099.html
http://www.experts-exchange.com/questions/Q.20271348.html
http://www.experts-exchange.com/questions/Q.20274640.html
http://www.experts-exchange.com/questions/Q.20265767.html
http://www.experts-exchange.com/questions/Q.20298168.html
http://www.experts-exchange.com/questions/Q.20298175.html



*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://www.experts-exchange.com/commspt/Q.20277028.html
 
Moderators will finalize this question if in @7 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
 
Thanks everyone.
Moondancer
Moderator @ Experts Exchange
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7049533
for sconnell

No comment has been added for the last two months.
So it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 7054974
200 points refunded, question moved to the PAQ at zero points and closed.  Thanks, Nico.
Moondancer - EE Moderator
0
 
LVL 4

Author Comment

by:sconnell
ID: 7071362
Thanks to everyone for your help.

Incidently, I've installed 10 new Access 97 apps (same as above) since April and 8 of these workstations experienced this same problem.  Ignoring the errors and re-running the apps a number of times eventually clears out the errors EVERY TIME.  Seriously whacked!  I have an open support call with MS just to quench my curiousity.  Thus far, MS is stumped!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now