Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RossP
Advocate I
Advocate I

PowerBI PDF Crash

Hi,

 

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()

 

 

1 ACCEPTED SOLUTION
RossP
Advocate I
Advocate I

Hi,

 

Late solution here but changing PowerBI to x64 version has fixed ther crashed.

View solution in original post

3 REPLIES 3
RossP
Advocate I
Advocate I

Hi,

 

Late solution here but changing PowerBI to x64 version has fixed ther crashed.

Anonymous
Not applicable

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

Regards,
Xiaoxin Sheng

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

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (2,366)