acropdf.dll breaking Microsoft Access application?


We've got an application built in Microsoft Access 2010 here. One function of the application results in the creation of PDFs that get e-mailed to certain people.

Since the most recent Acrobat Reader update (Acrobat Reader DC) we can't start the application anymore. It crashes with an acropdf.dll error ...

Any recommendation as to how to solve this? I looked on the internet but haven't been successful so far.

Thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

XeronimoAuthor Commented:
Update: I've uninstalled Reader DC and installed Reader XI again -> everything works fine again.

But it would be great if the new version of Reader could be used as well. Any ideas?
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
>>Since the most recent Acrobat Reader update (Acrobat Reader DC) we can't start the application anymore. It crashes with an acropdf.dll error ...

1. can you post part of your scripts how you create the object to export results to PDFs?

2. go to module's References option and see if there's any Reference marked as Missing?
XeronimoAuthor Commented:

1. Does this part help you?

         DoCmd.OpenReport ReportName:=strReport, _
            View:=acViewPreview, _
         Set rpt = Reports(strReport)
         DoCmd.OutputTo ObjectType:=acOutputReport, _
            ObjectName:=strReport, _
            outputformat:=acFormatPDF, _

Open in new window

2. I would have to install Acrobat DC again to reproduce the error ... I'll do that soon.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Your code uses the native Access methods to produce a PDF, and would have no interaction with the acropdf.dll.  If you are not referencing that acropdf.dll anywhere else in your code, then you don't even need it (at least as far as Access is concerned). If you have it referenced, try removing the reference and compiling your code (in the VBA Editor, click Debug - Compile). If you can Compile with no errors AFTER removing the reference, then you almost certainly do not need it (again, at least as far as Access is concerned).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jeffrey CoachmanMIS LiasonCommented:
FWIW, ...

Also note that in Access 2007 and above, there is built in, direct,  support for creating PDF's
(Though Access 2007 requires you to download a free add-in)

So here you could perhaps skip using Adobe altogether.
To send an email with a pdf attachment, you could use code similar to the example posted here:

XeronimoAuthor Commented:
I removed the plugin in the VBA editor since it was not actually used. Problem solved! Now I can install the new Acrobat Reader DC and our Access program still works too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.