New Problem
Posted: Mon May 03, 2010 1:04 pm
Sorry for the delay, but I was on vacation.
I downloaded the latest version...and I am now getting an error message.
The following error was caused when I tried create a new report with the following code.
Stimulsoft.Report.StiReport stiReport = new Stimulsoft.Report.StiReport();
DataSet ds = PrestoReportsManager.Instance.GetSQLViewStructure(SQLViewName);
stiReport .RegData(ds); // The dataset is valid.
stiReport .Dictionary.ImportXMLSchema(ds);
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyDictionary = true;
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyConnections = true;
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyVariables = true;
stiReport .Dictionary.Synchronize();
WebReportDesigner.Design(stiReport );
Value cannot be null.Parameter name: InString
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
Server Error in '/Presto3_1' Application.
Value cannot be null.Parameter name: InString
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: InString
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: InString]
System.Convert.FromBase64String(String s) +0
Stimulsoft.Base.StiGZipHelper.Unpack(String str) +7
Stimulsoft.Report.StiReport.LoadPackedReportFromString(String reportStr) +13
Stimulsoft.Report.Web.StiWebDesigner.LoadReportFromString(String reportString, Boolean packed, Boolean regData) +57
Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e) +701
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082
I downloaded the latest version...and I am now getting an error message.
The following error was caused when I tried create a new report with the following code.
Stimulsoft.Report.StiReport stiReport = new Stimulsoft.Report.StiReport();
DataSet ds = PrestoReportsManager.Instance.GetSQLViewStructure(SQLViewName);
stiReport .RegData(ds); // The dataset is valid.
stiReport .Dictionary.ImportXMLSchema(ds);
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyDictionary = true;
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyConnections = true;
Stimulsoft.Report.Web.StiWebDesignerOptions.ModifyVariables = true;
stiReport .Dictionary.Synchronize();
WebReportDesigner.Design(stiReport );
Value cannot be null.Parameter name: InString
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
Server Error in '/Presto3_1' Application.
Value cannot be null.Parameter name: InString
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: InString
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: InString]
System.Convert.FromBase64String(String s) +0
Stimulsoft.Base.StiGZipHelper.Unpack(String str) +7
Stimulsoft.Report.StiReport.LoadPackedReportFromString(String reportStr) +13
Stimulsoft.Report.Web.StiWebDesigner.LoadReportFromString(String reportString, Boolean packed, Boolean regData) +57
Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e) +701
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082