Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

ACCDR in access 2010 not working but ACCDB is fine???

Posted on 2013-01-02
Last Modified: 2013-01-03
This is interesting.  My accdb is working without a problem.  When I change my ACCDB to an ACCDE and then to ACCDR I get an error which says "Microsoft Access has stopped working" of course there is no way to debug.  When I open my ACCDB I get no errors what so ever.  Any ideas?
Question by:LSpiker
  • 4
  • 3
  • 2
  • +1
LVL 75

Accepted Solution

DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 175 total points
ID: 38737466
One reason why robust error handling is necessary - *especially* if you are doing Run Times.

You can ... start your DB in RunTime mode using the /RunTime switch on the command line. This may ... expose the actual error - not sure, but probably not - since it emulates RT.  You will probably have to add some error handling any place you suspect an 'unexpected' error might occur.


Author Comment

ID: 38737484
OK let me try that and I'll get back to you.  The switchboard has a lot of functionality on load.

Author Comment

ID: 38737501
I get the same result.  Also I already had error trapping in all the opening Events.
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

LVL 75
ID: 38737559
Is this occurring on the same machine  (as with DB) or a different machine?
If different, possibly there is a Reference error?

LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 175 total points
ID: 38737687
Make sure the app compiles without errors.

Then rename to ACCDR and try it in runtime mode.

If that works, then convert it to a DE and see if that works as it should.


Author Comment

ID: 38737769
It is the same machine... I get the same error in a DE and DR however it does compile in DB.
LVL 75
ID: 38737810
RT issues are a bitch to troubleshoot - because you can't 'see' anything.  I would appear that ... an unexpected error is occurring some place where you do not have error trapping .. OR - worse - some sort of a Microsoft Bug - wherein it's not really generating an error - just shutting down!

LVL 57
ID: 38737943
mx said it rather succinctly<g>

 Given that it compiles cleanly, I would:

1. Make a backup
2. Try decompile
3. Compile again and retest.

 If that fails, create a new DB container and import everything into it, compile, and try again.

If that still fails, then your probably tripping over an Access bug.

At that point, your only option is to find what's causing the problem and then work a round it.  You'll need to find the bug by placing msgboxes in the code at various points and narrow down when it dies (ie. starting up a specific form).

LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 150 total points
ID: 38739642
Note too there are certain things you cannot do in the runtime, like open a form/report in design view. If you're doing these things, the error trapping may not work and you'll get the abrupt ending you're experiencing.

See this article:


Author Comment

ID: 38741318
Thank you experts.  I found the problem.  I had a corrupted form that would compile.  After I removed it and imported a safety version of it the accdr worked fine.  The additional information was very helpful.

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

856 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