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()
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.
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!
User | Count |
---|---|
107 | |
74 | |
66 | |
49 | |
48 |
User | Count |
---|---|
164 | |
87 | |
77 | |
70 | |
67 |