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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

v-shex-msft
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

Regards,
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

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.