Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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()
Solved! Go to Solution.
Hi,
Late solution here but changing PowerBI to x64 version has fixed ther crashed.
Hi,
Late solution here but changing PowerBI to x64 version has fixed ther crashed.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |