Access 2016 accde "DoCmd.OutputTo acOutputReport, , acFormatPDF..." crashes after 10 minutes

Anonymous
2016-01-24T09:19:56+00:00

Create PDF in accdb is no problem.

Create PDF in accde crashes after 10 minutes.

Command: DoCmd.OutputTo acOutputReport, , acFormatPDF, strOutputFile, False, , , acExportQualityPrint

At first the DoCmd.OutputTo method runs fine.

But if you do 10 minutes nothing (only opened) and then you try to run DoCmd.OutputTo again, access crashes without error.

It seems like a timer-problem, but there is no timer.

Only by acFormatPDF and only with accde. In a accdb-file all is fine.

It is not a problem of the PDF-Software. I checked several PDF-Software-Products. Additional: Parameter Autostart is false.

So the PDF-Software should do no matter.

It is not a Problem of anti-virus-Software. I checked it also without any anti-virus-Software.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

75 answers

Sort by: Oldest
  1. Anonymous
    2017-06-19T10:34:53+00:00

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-06-19T11:08:58+00:00

    Indeed. Unfortunately, it leaves all the questions actually required to deploy the fix to your customers unanswered, like:

    * Access 2016 CTR (= Office 2016 Retail and Office 365): In which (build) version of Office 2016 CTR has the bug been fixed?

    * Access 2016 MSI (= Office 2016 Volume License): Where can the fix for this issue be downloaded?

    * Access 2016 Stand-alone Runtime: Where can the fix for this issue be downloaded?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-06-20T00:36:11+00:00

    For the MSI and stand-alone runtime, you can download the fix by using the following link

    https://support.microsoft.com/en-us/help/3191944/descriptionofthesecurityupdateforoffice2016june13,2017

    As for CTR, it was apparently released in April and should be included in the build 16.0.8114.1000 or higher.  So ensure your installation performs an update.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2017-06-20T12:18:25+00:00

    Brilliant, thanks Daniel!

    I can confirm that both the 8-minute-bug as well as the 80-minute-bug seem to be fixed.

    So far, I have tested:

    * Current Office 2016 CTR (Version 1705, Build 8201.2102) -> works!

    * Freshly installed Access 2016 Runtime with additional KB3191944 -> works!

    Best regards

    Heinzi

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2017-06-20T12:28:12+00:00

    CTR - MSI - I don't know what's what! I would have thought that Office 365 would update Access as required, but as at 15 June 2017, the full 2016 version was causing our routine to crash following printing to pdf issue summarised below.

    What I do know is that Heinzi was spot on - this fix worked for us.

    We were using the Access version that comes with Office 365. We have our back end on one of our PCs and that PC and two others have .accdr front ends that we use to run the business. Printing to .pdf stopped working. Initially this seemed random, but we, along with others, discovered that after 80 minutes, printing to pdf resulted in the application closing down. Subsequent prints were fine but if we didn't try printing to pdf for another 80 minutes, the application closed down again.

    Taking Heinzi's advice, we installed 2013 Runtime and set up a link forcing our .accdrs to open im 2013 Runtime. That's sorted the issue for us.

    I'd love to know whether or not the 2016 Office 365 version has been fixed, but I dodn't fancy faffing around trying to find out, now that we have a fix...

    Thanks, Heinzi.

    Pete

    Was this answer helpful?

    0 comments No comments