New Problem
New Problem
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
New Problem
One more thing.
The very next time I tried to do the EXACT SAME THING....It worked fine.
The very next time I tried to do the EXACT SAME THING....It worked fine.
New Problem
Hello, Mike
Most likely there is some problem with temporary report storage in the server cache. We have added a new property UseCache and a new event OnGetReport for WebDesigner. Use this event to load the report.
The patch will be available in the next prerelease build from May 10.
Please let us know if you need the patch immediately.
Thank you.
Most likely there is some problem with temporary report storage in the server cache. We have added a new property UseCache and a new event OnGetReport for WebDesigner. Use this event to load the report.
The patch will be available in the next prerelease build from May 10.
Please let us know if you need the patch immediately.
Thank you.
New Problem
Thank you.
I can wait for the May 10th build. But will need a final build before June. We plan on deploying the latest of our product with Stimulsoft by June.
I can wait for the May 10th build. But will need a final build before June. We plan on deploying the latest of our product with Stimulsoft by June.
New Problem
Let us know about the result.
Thank you.
Thank you.
New Problem
Downloaded build from 5-10.
I can see the new property UseCache.
But there doesn't seem to be a method OnGetReport.
Am I missing.
The WebDesigner version is 2010.2.717.0
New Problem
I got the OnGetReport method to show up...Just re-did everything.
Testing now to see if this eliminates the 2032 error. Will let you know later today.
New Problem
Hello, Mike
Please use the GetReport event.
Thank you.
Please use the GetReport event.
Thank you.
- Attachments
-
- 415.event.PNG (9.18 KiB) Viewed 4130 times
New Problem
Hello, Mike
Let us know about the result.
Thank you.
Let us know about the result.
Thank you.
New Problem
I'm a little confused on how to use this new method.
You said to use it to Load the report. Do you mean the StiReport.Load() method. Where I pass in the byte array??
Any chance you could give me a quick example of how it's used.
You said to use it to Load the report. Do you mean the StiReport.Load() method. Where I pass in the byte array??
Any chance you could give me a quick example of how it's used.