We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Parameter is not valid error with SSAS in bar chart

We are receiving errors when trying to export SSRS charts to PPTX. The reports have connections to an SSAS database and are rendering a bar chart. No report parameters are used. This is occurring in all our reports that have this type of data source and chart. I created a simple test report with only these elements and get the 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: Parameter is not valid. at System.Drawing.Image.get_Width() at . ( , String , Stream , Int64 , RectangleF , ​ ) at . ( , , RectangleF , Boolean ) at . ( , RectangleF , Boolean , RectangleF , Boolean ) at . ( , , RectangleF ) at . ( , , RectangleF , RectangleF ) at . ( , RectangleF , Boolean , RectangleF , Boolean ) at . ( , Int32 , ) 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.InvokeRenderer(IRenderingExtension renderer, 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 —;



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: Parameter is not valid. at System.Drawing.Image.get_Width() at . ( , String , Stream , Int64 , RectangleF , ​ ) at . ( , , RectangleF , Boolean ) at . ( , RectangleF , Boolean , RectangleF , Boolean ) at . ( , , RectangleF ) at . ( , , RectangleF , RectangleF ) at . ( , RectangleF , Boolean , RectangleF , Boolean ) at . ( , Int32 , ) 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.InvokeRenderer(IRenderingExtension renderer, 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 — at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.HandleRenderingException(ReportRenderingException rex) at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer) at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderSnapshot(RenderingContext rc, ProcessingContext pc) at Microsoft.ReportingServices.Library.RenderFromSnapshot.DoRendering(ProcessingContext pc, RenderingContext rc) at Microsoft.ReportingServices.Library.RenderFromSnapshot.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result) at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)


Reporting Services fault exception System.ServiceModel.FaultException`1[Microsoft.ReportingServices.ServiceContract.RsExceptionInfo]: An error occurred during rendering of the report. —> 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: Parameter is not valid. (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo).



Microsoft.Reporting.WebForms.ReportServerException: Parameter is not valid.

Hi Josh,


I have observed your comments. Can you please share details like OS version and which sharepoint version you are using on your end and any other information related to this issue will help us to investigate and resolve the issue.

Best Regards,

Using the following environment:



Windows Server 2012 R2

SharePoint Server 2010 SP2 14.0.7015.1000

SSRS 2012 in SharePoint integrated mode

Aspose Slides Reporting Services 5.3.0.0



The data source is a SSAS database. When creating a report that displays a bar chart sourced from a relational SQL Server connection it works fine. If i use a SSAS datasource it generates the error. Displaying the same data in a table (not a chart) does not produce the error.



Attached are a few example reports:

TestReport2 connects to an SSAS cube and displays the data in a bar chart and errors.



TestReport3 connects to a SQL Server relational database and displays the data in a bar chart and does NOT error



TestReport4 connects to an SSAS cube and displays the data in a table and does NOT error.

Hi Josh,


Thanks for sharing information with us. We will get back to you with feedback soon.

Best Regards,

Still waiting for a reply. When should I expect it?

Thanks,
-Josh

Hi Josh,

I have observed your comments. A ticket with ID SLIDESSHP-33217 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the ticket so that we may share the notification with you once issue will be fixed.

We are sorry for your inconvenience,

Thanks, is there any estimate of when a resolution or workaround may be available for this issue?

Hi Josh,


I have observed your comments. I like to inform that issue has been added recently in our issue tracking system. I request for you patience until issue gets resolved. We will share good news with you soon.

Best Regards,

Is there an updated status available for this issue? Is there an estimate for when it will be resolved?

Hi Josh,


I have observed your comments. i like to inform that this issue has been resolved in Aspose.Slides 17.1.0 Please share feedback with us if there is still an issue.

Best Regards,