problem with ProcessPdfRequest() and export Word and RichText
problem with ProcessPdfRequest() and export Word and RichText
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
problem with ProcessPdfRequest() and export Word and RichText
Hello,
Can you please send us a sample report template with database, which reproduces the issue?
Thank you.
Can you please send us a sample report template with database, which reproduces the issue?
Thank you.
problem with ProcessPdfRequest() and export Word and RichText
Hello,
Also you can send mdc file for rendered report. We will try reproduce problem with this file.
Thank you.
Also you can send mdc file for rendered report. We will try reproduce problem with this file.
Thank you.
problem with ProcessPdfRequest() and export Word and RichText
HI,
The problem is reproduced when we call ProcessPdfRequest()
exemple of c# code with simple report
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Stimulsoft.Report;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
StiReport report = new StiReport();
report.Load("c:\\report.mrt");
StiWebViewer1.Report = report;
}
protected void StiWebViewer1_ReportExport(object sender, Stimulsoft.Report.Web.StiExportDataEventArgs e)
{
if (StiWebViewer1.ProcessPdfRequest())
{
}
}
}
that is a simple report .mrt
EngineV2
None;Black;2;Solid;False;4;Black
Transparent
Transparent
0,0.4,27.7,5.6
None;Transparent;1;Solid;False;4;Black
Transparent
8.4,0.8,13,2.4
Arial,10,Bold
Center
0,0,0,0
Text1
Problem in the export
[122:78:43]
Expression
Center
ReportTitleBand1
f56c5c7052e04de884bfa0f9db7a18a2
1,1,1,1
Page1
Landscape
21
29.7
Arial,100
[50:0:0:0]
System.Dll
System.Drawing.Dll
System.Windows.Forms.Dll
System.Data.Dll
System.Xml.Dll
Stimulsoft.Controls.Dll
Stimulsoft.Base.Dll
Stimulsoft.Report.Dll
Report
10/11/2011 2:43:09 PM
7/18/2011 5:14:51 PM
\\xp3\c$\Report1\report.mrt
4e372e17de794ddf93a3d021f1e59d53
Report
Centimeters
2011.1.1000
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report() {
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify
#endregion StiReport Designer generated code - do not modify
}
}
CSharp
The problem is reproduced when we call ProcessPdfRequest()
exemple of c# code with simple report
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Stimulsoft.Report;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
StiReport report = new StiReport();
report.Load("c:\\report.mrt");
StiWebViewer1.Report = report;
}
protected void StiWebViewer1_ReportExport(object sender, Stimulsoft.Report.Web.StiExportDataEventArgs e)
{
if (StiWebViewer1.ProcessPdfRequest())
{
}
}
}
that is a simple report .mrt
EngineV2
None;Black;2;Solid;False;4;Black
Transparent
Transparent
0,0.4,27.7,5.6
None;Transparent;1;Solid;False;4;Black
Transparent
8.4,0.8,13,2.4
Arial,10,Bold
Center
0,0,0,0
Text1
Problem in the export
[122:78:43]
Expression
Center
ReportTitleBand1
f56c5c7052e04de884bfa0f9db7a18a2
1,1,1,1
Page1
Landscape
21
29.7
Arial,100
[50:0:0:0]
System.Dll
System.Drawing.Dll
System.Windows.Forms.Dll
System.Data.Dll
System.Xml.Dll
Stimulsoft.Controls.Dll
Stimulsoft.Base.Dll
Stimulsoft.Report.Dll
Report
10/11/2011 2:43:09 PM
7/18/2011 5:14:51 PM
\\xp3\c$\Report1\report.mrt
4e372e17de794ddf93a3d021f1e59d53
Report
Centimeters
2011.1.1000
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report() {
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify
#endregion StiReport Designer generated code - do not modify
}
}
CSharp
problem with ProcessPdfRequest() and export Word and RichText
Hello,
We couldn't reproduce this issue with data you send to us.
Can you please send us a document file (*.mdc) of the rendered report, which reproduce the issue, or complete simple test project, which reproduce the issue?
Thank you.
We couldn't reproduce this issue with data you send to us.
Can you please send us a document file (*.mdc) of the rendered report, which reproduce the issue, or complete simple test project, which reproduce the issue?
Thank you.
problem with ProcessPdfRequest() and export Word and RichText
the problem is reproduced when I try to export the document "I clic on Save Pdf"
- Attachments
-
- 1366.Report1.rar
- (7.89 KiB) Downloaded 248 times
problem with ProcessPdfRequest() and export Word and RichText
Hello,
In your project the references to the 2011.1 release of our product is used.
Please delete Stimulsoft Reports.Net dlls from the Reference part of your project, then add those references again to the new Stimulsoft Reports.Net dlls (release 2011.2), and modify versions of dll in the Default.aspx and Web.Config files.
Thank you.
In your project the references to the 2011.1 release of our product is used.
Please delete Stimulsoft Reports.Net dlls from the Reference part of your project, then add those references again to the new Stimulsoft Reports.Net dlls (release 2011.2), and modify versions of dll in the Default.aspx and Web.Config files.
Thank you.
problem with ProcessPdfRequest() and export Word and RichText
Thank you, that's Work
But I've Demo Version.
knowing We have bought the Stimulsoft Reports.Web 2011.1, how can we do to avoid the DEMO version when we update the new dll
Sofiane
But I've Demo Version.
knowing We have bought the Stimulsoft Reports.Web 2011.1, how can we do to avoid the DEMO version when we update the new dll
Sofiane
problem with ProcessPdfRequest() and export Word and RichText
Hello,
Please read the following topics.
http://stimulsoft.helpserve.com/index.p ... id=1&nav=0
http://stimulsoft.helpserve.com/index.p ... id=2&nav=0
http://stimulsoft.helpserve.com/index.p ... =344&nav=0
http://stimulsoft.helpserve.com/index.p ... =345&nav=0
http://stimulsoft.helpserve.com/index.p ... =345&nav=0
http://stimulsoft.helpserve.com/index.p ... =343&nav=0
Thank you.
Please read the following topics.
http://stimulsoft.helpserve.com/index.p ... id=1&nav=0
http://stimulsoft.helpserve.com/index.p ... id=2&nav=0
http://stimulsoft.helpserve.com/index.p ... =344&nav=0
http://stimulsoft.helpserve.com/index.p ... =345&nav=0
http://stimulsoft.helpserve.com/index.p ... =345&nav=0
http://stimulsoft.helpserve.com/index.p ... =343&nav=0
Thank you.
problem with ProcessPdfRequest() and export Word and RichText
Thank you , i have cheked and read all links
But my problem is not the same.
I have installed the full licensed copy : Reports.Web 2011.1,
But when I updat new dlls, I do have the change but with DEMO version ie
when I updat dll I lose licence and the result of Export containing DEMO in all Pages
How can I resolve this problem ?
please help
But my problem is not the same.
I have installed the full licensed copy : Reports.Web 2011.1,
But when I updat new dlls, I do have the change but with DEMO version ie
when I updat dll I lose licence and the result of Export containing DEMO in all Pages
How can I resolve this problem ?
please help