problem with ProcessPdfRequest() and export Word and RichText
Posted: Tue Sep 27, 2011 4:13 am
Hi ,
I have exception when I call StiWebViewer1.ProcessPdfRequest()) in C#.
The same problem appear when one use the tool bar for export to Word and Rich Text
[NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.]
Stimulsoft.Base.Drawing.StiTextRenderer.ParseHtmlToStates(String inputHtml, StiHtmlState baseState) +2322
Stimulsoft.Report.Export.StiRtfExportService.ConvertTextWithHtmlTagsToRtfText(StiText stiText, String text) +689
Stimulsoft.Report.Export.StiRtfExportService.ExportRtf(StiReport report, Stream stream, StiRtfExportSettings settings) +3094
Stimulsoft.Report.Export.StiRtfExportService.ExportRtf(StiReport report, Stream stream, StiRtfExportMode exportMode) +74
Stimulsoft.Report.Export.StiRtfExportService.GetRtfFileFromHtmlTags(StiText stiText, String text) +392
Stimulsoft.Report.Export.StiWord2007ExportService.writeFromMatrix(XmlTextWriter writer, Int32 startLine, Int32 endLine, Boolean outHeadersAndFooters) +11691
Stimulsoft.Report.Export.StiWord2007ExportService.WriteDocument(StiPagesCollection pages, Int32 startLine, Int32 endLine, Boolean outHeadersAndFooters) +518
Stimulsoft.Report.Export.StiWord2007ExportService.ExportWord(StiReport report, Stream stream, StiWord2007ExportSettings settings) +2747
Stimulsoft.Report.Web.StiReportResponse.ResponseAsWord2007(Page page, StiReport report, StiWord2007ExportSettings settings) +132
Stimulsoft.Report.Web.StiWebViewer.ProcessWord2007Request(Boolean saveFromAjaxMenu) +317
Stimulsoft.Report.Web.StiWebViewer.OnLoad(EventArgs e) +5368
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3021
I use the Stimulsoft Reports.Ultimate 2011.2
Thanks in advance for you help
I have exception when I call StiWebViewer1.ProcessPdfRequest()) in C#.
The same problem appear when one use the tool bar for export to Word and Rich Text
[NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.]
Stimulsoft.Base.Drawing.StiTextRenderer.ParseHtmlToStates(String inputHtml, StiHtmlState baseState) +2322
Stimulsoft.Report.Export.StiRtfExportService.ConvertTextWithHtmlTagsToRtfText(StiText stiText, String text) +689
Stimulsoft.Report.Export.StiRtfExportService.ExportRtf(StiReport report, Stream stream, StiRtfExportSettings settings) +3094
Stimulsoft.Report.Export.StiRtfExportService.ExportRtf(StiReport report, Stream stream, StiRtfExportMode exportMode) +74
Stimulsoft.Report.Export.StiRtfExportService.GetRtfFileFromHtmlTags(StiText stiText, String text) +392
Stimulsoft.Report.Export.StiWord2007ExportService.writeFromMatrix(XmlTextWriter writer, Int32 startLine, Int32 endLine, Boolean outHeadersAndFooters) +11691
Stimulsoft.Report.Export.StiWord2007ExportService.WriteDocument(StiPagesCollection pages, Int32 startLine, Int32 endLine, Boolean outHeadersAndFooters) +518
Stimulsoft.Report.Export.StiWord2007ExportService.ExportWord(StiReport report, Stream stream, StiWord2007ExportSettings settings) +2747
Stimulsoft.Report.Web.StiReportResponse.ResponseAsWord2007(Page page, StiReport report, StiWord2007ExportSettings settings) +132
Stimulsoft.Report.Web.StiWebViewer.ProcessWord2007Request(Boolean saveFromAjaxMenu) +317
Stimulsoft.Report.Web.StiWebViewer.OnLoad(EventArgs e) +5368
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3021
I use the Stimulsoft Reports.Ultimate 2011.2
Thanks in advance for you help