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

Free Support Forum - aspose.com

Error when render a PPT report through ASP.Net

Hi,

I'm using Aspose Slides for Reporting Services 2005. I've installed ASPOSE Slides in Reporting Server. When i tried to render a PPT report through ASP.Net using Reporting Web Services, i am getting the following error:

err.Message "System.Web.Services.Protocols.SoapException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.\n at b3.ap()\n at j4.f()\n at b3.aj()\n at b3.x()\n at Aspose.Slides.ReportingServices.PptRenderer.a(b3 A_0, g1 A_1, Boolean A_2, Int32 A_3, Int32 A_4, Boolean A_5)\n at Aspose.Slides.ReportingServices.PptRenderer.a(Report A_0, NameValueCollection A_1, EvaluateHeaderFooterExpressions A_2, CreateAndRegisterStream A_3, Int32 A_4)\n at Aspose.Slides.ReportingServices.PptRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStream)\n --- End of inner exception stack trace ---\n at Aspose.Slides.ReportingServices.PptRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStream)\n at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)\n --- End of inner exception stack trace ---\n at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)\n at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc)\n at Microsoft.ReportingServices.Library.RSService.RenderAsLive(CatalogItemContext reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoCollection& alldataSources, UserProfileState& usedUserProfile)\n at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)\n at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)\n at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()\n at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()\n --- End of inner exception stack trace ---\n at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()\n at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)\n at Microsoft.ReportingServices.Library.RenderReportAction.Render(String format, String deviceInfo)\n at Microsoft.ReportingServices.WebServer.ReportExecutionService.InternalRender(String Format, String DeviceInfo, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)\n --- End of inner exception stack trace ---\n at Microsoft.ReportingServices.WebServer.ReportExecutionService.InternalRender(String Format, String DeviceInfo, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)\n at Microsoft.ReportingServices.WebServer.ReportExecutionService.Render(String Format, String DeviceInfo, Byte[]& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)" string

Thanks for reporting, we will investigate the problem and fix it.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Hello Giri,

We will check this issue but please provide also RDL report and report exported as TIF image.
Also please write what version of Aspose.Slide for RS you use.