ReportDesigner.Design() ThreadAbortException

Stimulsoft Reports.WEB discussion
Post Reply
Cheguevara
Posts: 8
Joined: Wed Apr 16, 2014 10:25 am

ReportDesigner.Design() ThreadAbortException

Post by Cheguevara »

hello,

in my application I use a button to open the designer.

protected void DesignReport_Click(object sender, EventArgs e)
{
StiReport stiReport = new StiReport();
stiReport.Load(Server.MapPath("~/Reports/Templates/Test.mrt"));
try
{
stiReport.DataStore.RegData("ReportData", "Test");
this.ReportDesigner.Report= stiReport;
this.ReportDesigner.Design();
}
catch (ThreadAbortException exception)
{
RadWindowManager.RadAlert(exception.Message, 350, 100, "XXX", null);

}
}

I get the following error: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.

I searched nearly 2 days for any solution and could not find anything.
Any ideas?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ReportDesigner.Design() ThreadAbortException

Post by HighAley »

Hello.

Could you specify which designer do you use?
Please, send us sample project which reproduces the issue.

Thank you.
Cheguevara
Posts: 8
Joined: Wed Apr 16, 2014 10:25 am

Re: ReportDesigner.Design() ThreadAbortException

Post by Cheguevara »

Hello,

I use the StiWebDesigner.
Now I prepared a sample project, but in this sample the designer works fine. In my "real" application it does not work.
I will search the differences between the projects. If I can reproduce the behavior I will send a sample.

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ReportDesigner.Design() ThreadAbortException

Post by HighAley »

Hello.

We are waiting for your sample project.

Than you.
Post Reply