Crash with 2020 trial StiWebDesigner
Posted: Fri Feb 21, 2020 4:16 pm
I am upgrading an application from StimulSoft 2016 to 2020, and am using the trial version until we are authorized to purchase 2020. The conversion has gone well except for the page which uses the web designer. This page is a complex page with two layers of .master pages, some JQuery dialogs, and script usage. This page worked correctly with 2016, but gets the following error with 2020:
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object reference not set to an instance of an object.
Source : Stimulsoft.Report.WebDesign
Help link :
TargetSite : Void RegisterClientScriptBlockIntoHeader(System.String, System.String)
HResult : -2147467261
Stack Trace : at Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScriptBlockIntoHeader(String key, String script) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WebDesign\Designer\StiWebDesigner.cs:line 92
at Stimulsoft.Report.Web.StiWebDesigner.OnPreRender(EventArgs e) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WebDesign\Designer\StiWebDesigner.Render.cs:line 596
...
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I know you would like a simple reproducible page, but I'm sure the complexity of this page is the issue and I don't have authorization to change it radically.
If there is an issue with FindControl() and master pages I can assist with dealing with that problem.
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object reference not set to an instance of an object.
Source : Stimulsoft.Report.WebDesign
Help link :
TargetSite : Void RegisterClientScriptBlockIntoHeader(System.String, System.String)
HResult : -2147467261
Stack Trace : at Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScriptBlockIntoHeader(String key, String script) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WebDesign\Designer\StiWebDesigner.cs:line 92
at Stimulsoft.Report.Web.StiWebDesigner.OnPreRender(EventArgs e) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WebDesign\Designer\StiWebDesigner.Render.cs:line 596
...
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I know you would like a simple reproducible page, but I'm sure the complexity of this page is the issue and I don't have authorization to change it radically.
If there is an issue with FindControl() and master pages I can assist with dealing with that problem.