Hi,
We are currently running a very old version of Aspose.Slides.ReportingServices but we have reproduced the issue with the latest trial version available as well so this is not related to our version.
The 2 versions of Aspose slides that we have tested are running on PowerBI ReportServer version January 2023 but not with version May 2023.
The report is successfully rendered in Report Server but as soon as we export the result in a PowerPoint document (using Aspose Slides) the export fails and shows “Report Server Error”
PowerBI ReportServer versions:
From Version: 1.16.8420.13742(January 2023)
To Version: 1.17.8552.27722(May 2023)
Aspose.Slides versions:
- 5.1.0.0
- 23.7.0.0
Rendering extension setup in rsreportserver.config
<Extension Name="ASPPTX" Type="Aspose.Slides.ReportingServices.PptxRenderer,Aspose.Slides.ReportingServices" Visible="true">
<OverrideNames>
<Name Language="en-US">Powerpoint</Name>
</OverrideNames>
</Extension>
Error Message in ReportingServicesService.log
library!ReportServer_0-1!18c4!08/21/2023-09:23:18:: i INFO: Call to GetItemTypeAction(/TestServer/TestServer control panel). User: XXXXXXXXXXXXX.
library!ReportServer_0-1!18c4!08/21/2023-09:23:18:: i INFO: Entering StreamRequestHandler.ExecuteCommand - Command = StyleSheet
library!ReportServer_0-1!18c4!08/21/2023-09:23:18:: i INFO: Exiting StreamRequestHandler.ExecuteCommand - Command = StyleSheet (success)
library!ReportServer_0-1!18c4!08/21/2023-09:23:19:: i INFO: Call to GetItemTypeAction(/TestServer/TestServer control panel). User: XXXXXXXXXXXXX.
library!ReportServer_0-1!18c4!08/21/2023-09:23:19:: i INFO: RenderForNewSession(’/TestServer/TestServer control panel’)
rdlenginehost!ReportServer_0-1!18c4!08/21/2023-09:23:19:: i INFO: ProcessingCore, HasCompiledCode: True
dataextension!ReportServer_0-1!18c4!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 93a13f157cbf4032bded0a3e3dcc7aa0
dataextension!ReportServer_0-1!1178!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId bbe51d0ae4a7475ebcdf671baa1c4bbf
dataextension!ReportServer_0-1!1fd8!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 683ff2d06b3647269f36ffe4d172b740
dataextension!ReportServer_0-1!2870!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 0e88cd22a9a647cdb77135f1b747a9d1
dataextension!ReportServer_0-1!108!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 683ff2d06b3647269f36ffe4d172b740
dataextension!ReportServer_0-1!1fd8!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 398655e9afc046798e4e6a4793d082a1
dataextension!ReportServer_0-1!108!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 683ff2d06b3647269f36ffe4d172b740
dataextension!ReportServer_0-1!108!08/21/2023-09:23:19:: i INFO: Opening SqlConnection with ClientConnectionId 683ff2d06b3647269f36ffe4d172b740
library!ReportServer_0-1!9b8!08/21/2023-09:23:39:: i INFO: Call to CreateReportAction(Report_Test, /TestServer, False). User: XXXXXXXXXXXXX.
library!ReportServer_0-1!9b8!08/21/2023-09:23:42:: i INFO: Call to GetItemTypeAction(/TestServer/Report_Test). User: XXXXXXXXXXXXX.
library!ReportServer_0-1!164c!08/21/2023-09:23:42:: i INFO: Entering StreamRequestHandler.ExecuteCommand - Command = StyleSheet
library!ReportServer_0-1!164c!08/21/2023-09:23:42:: i INFO: Exiting StreamRequestHandler.ExecuteCommand - Command = StyleSheet (success)
library!ReportServer_0-1!9b8!08/21/2023-09:23:43:: i INFO: Call to GetItemTypeAction(/TestServer/Report_Test). User: XXXXXXXXXXXXX.
library!ReportServer_0-1!9b8!08/21/2023-09:23:43:: i INFO: RenderForNewSession(’/TestServer/Report_Test’)
rdlenginehost!ReportServer_0-1!9b8!08/21/2023-09:23:43:: i INFO: ProcessingCore, HasCompiledCode: False
library!ReportServer_0-1!9b8!08/21/2023-09:23:49:: i INFO: RenderFromSession(’/TestServer/Report_Test’)
rdlenginehost!ReportServer_0-1!9b8!08/21/2023-09:23:49:: i INFO: ProcessingCore, HasCompiledCode: False
reportrendering!ReportServer_0-1!9b8!08/21/2023-09:23:49:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. —> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. —> System.ArgumentException: 10.6
at .(Version )
at .(BinaryReader , Version& )
at .( , )
at Aspose.Slides.ReportingServices.RplRenderer.RenderPage(Stream rplStream)
at Aspose.Slides.ReportingServices.SlidesRenderingExtensionBase.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream)
at Aspose.Slides.ReportingServices.SlidesRenderingExtensionBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
— End of inner exception stack trace —
at Aspose.Slides.ReportingServices.SlidesRenderingExtensionBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
— End of inner exception stack trace —;
library!ReportServer_0-1!9b8!08/21/2023-09:23:49:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. —> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. —> System.ArgumentException: 10.6, Message: , Unhandled Exception: False
library!ReportServer_0-1!9b8!08/21/2023-09:23:49:: i INFO: Skipped creating a dump file for the error UnhandledReportRenderingException, because a dump with the identical stack trace (with signature 2081641701) was already created.
library!ReportServer_0-1!9b8!08/21/2023-09:23:49:: w WARN: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. —> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. —> System.ArgumentException: 10.6
webserver!ReportServer_0-1!9b8!08/21/2023-09:23:49:: e ERROR: RS.Server.HttpHandlerError {“shortHttpDescription”:“Server Error”,“code”:“500”,“path”:“reportServiceHandlerWriteError”,“exceptionType”:“Microsoft.Reporting.WebForms.ReportServerException”}