Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PowerBI PDF Crash



When trying to export to PDF using a large number of pages it crashes at the last step, creating the PDF. Strangly this works if I logon to the server and export, so I'm thinking is this permission based? Then again it works with a small PowerBI document.


Found the error within Event Viewer:


Application: PBIDesktop.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at Microsoft.PowerBI.Client.Windows.Printing.PdfiumService.FPDF_SaveWithVersion(IntPtr, FPDF_FILEWRITE, Int32, Int32)
   at Microsoft.PowerBI.Client.Windows.Printing.PdfiumService.CombinePdfFiles(System.Collections.Generic.IEnumerable`1<System.String>, System.String)
   at Microsoft.PowerBI.Client.Windows.Commands.ApplicationCommands.PrintCommands+<>c__DisplayClass21_3.<PrintReportTask>b__3()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()



Community Support
Community Support

Hi @RossP,

What version of power bi desktop are you worked on? How many pages your report stored? Did you test with other report that with less pages? Please share some more detail about these to help us clarify your scenario and troubleshoot.

How to Get Your Question Answered Quickly 

In addition, you can also look the following document limitation part if these meets to your scenario:

Export reports to PDF - Power BI | Microsoft Learn

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi Xiaoxin Sheng,


PowerBI Desktop (May 2022), although previously using Jan 2022 it crashed also. I can export PowerBI reports with a few pages, this one in particular has 35 pages.


It seems to pdf all the pages but then the final part where it puts them all together and open crashes the app. I found the PDF in %AppData% but it won't open due to an error.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors