Error with stimulation reports 2007.2 and 2007.3.18 in the Web.
Posted: Tue Nov 06, 2007 3:08 am
I use a Web application where several reports can be started.
These reports are created in a Windows Forms application.
Reports which were created with version 2006.4 are properly displayed.
Reports which are newly created with version 2007.2 or 2007.3.18 also show up correctly.
Reports which were created with version 2006.4 and modified with version 2007.2 or 2007.3.18
cause the following error in the Web application:
2007:11:06, 08:29: StiReport: Loading report
2007.3.18
2007:11:06, 08:29: StiReport: Rendering report
2007:11:06, 08:29: StiReport: Compiling report
2007:11:06, 08:29: StiReport: c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
2007:11:06, 08:29: StiReport: Compiling report...ERROR
2007:11:06, 08:29: StiReport: Method : [Compile] : c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
====================================================
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
====================================================
2007:11:06, 08:29: StiReport: Rendering report...ERROR
2007:11:06, 08:29: StiReport: Method : [Compile] : c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
====================================================
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
bei Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
bei Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType)
bei Stimulsoft.Report.StiReport.Compile(StiOutputType outputType)
bei Stimulsoft.Report.StiReport.Compile()
bei Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
====================================================
A first chance exception of type 'System.Exception' occurred in Stimulsoft.Report.dll
These reports operate correctly in the Windows Forms application.
Code in the Web:
DataSet data = new DataSet();
data.ReadXml ("c:\\temp\\data.xml");
StiReport report1 = new StiReport ();
StiReport report2 = new StiReport ();
StiReport report3 = new StiReport ();
report3.RegData(data);
report3.Load("c:\\temp\\syspar2.mrt");
System.Diagnostics.Debug.Print(report3.ReportVersion);
this.StiWebViewer1.Report = report3;
These reports are created in a Windows Forms application.
Reports which were created with version 2006.4 are properly displayed.
Reports which are newly created with version 2007.2 or 2007.3.18 also show up correctly.
Reports which were created with version 2006.4 and modified with version 2007.2 or 2007.3.18
cause the following error in the Web application:
2007:11:06, 08:29: StiReport: Loading report
2007.3.18
2007:11:06, 08:29: StiReport: Rendering report
2007:11:06, 08:29: StiReport: Compiling report
2007:11:06, 08:29: StiReport: c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
2007:11:06, 08:29: StiReport: Compiling report...ERROR
2007:11:06, 08:29: StiReport: Method : [Compile] : c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
====================================================
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
====================================================
2007:11:06, 08:29: StiReport: Rendering report...ERROR
2007:11:06, 08:29: StiReport: Method : [Compile] : c:\Dokumente und Einstellungen\jschieler.CORP\Lokale Einstellungen\Temp\uwpvhvte.0.cs(138,21) : error CS0106: Der Modifizierer public ist für dieses Element ungültig.
====================================================
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
bei Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
bei Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType)
bei Stimulsoft.Report.StiReport.Compile(StiOutputType outputType)
bei Stimulsoft.Report.StiReport.Compile()
bei Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
====================================================
A first chance exception of type 'System.Exception' occurred in Stimulsoft.Report.dll
These reports operate correctly in the Windows Forms application.
Code in the Web:
DataSet data = new DataSet();
data.ReadXml ("c:\\temp\\data.xml");
StiReport report1 = new StiReport ();
StiReport report2 = new StiReport ();
StiReport report3 = new StiReport ();
report3.RegData(data);
report3.Load("c:\\temp\\syspar2.mrt");
System.Diagnostics.Debug.Print(report3.ReportVersion);
this.StiWebViewer1.Report = report3;