Server cannot clear headers after HTTP headers have been sent
Posted: Thu May 26, 2011 9:42 pm
I am getting the following error sometimes calling StiWebDesigner1.Design(report);
Server cannot clear headers after HTTP headers have been sent.
I tracked this down and it seems that sometimes my ASPX page is being driven a second time by the report designer with a URL that looks like this:
http://MY_SERVER/report_design.aspx?ID=1234&stimulsoft_designerfx=get_flash_player.gif
Notice the stimulsoft_designerfx.
http://MY_SERVER/report_design.aspx?ID=1234 is the "normal" URL.
In my Page_Load, I always call StiWebDesigner1.Design(report);
Do I need to ignore the event (not call StiWebDesigner1.Design) when the stimulsoft_designerfx is set? Why is the designer sometimes re-calling my page (via AJAX I guess) with the stimulsoft_designerfx parameter?
thx
Server cannot clear headers after HTTP headers have been sent.
I tracked this down and it seems that sometimes my ASPX page is being driven a second time by the report designer with a URL that looks like this:
http://MY_SERVER/report_design.aspx?ID=1234&stimulsoft_designerfx=get_flash_player.gif
Notice the stimulsoft_designerfx.
http://MY_SERVER/report_design.aspx?ID=1234 is the "normal" URL.
In my Page_Load, I always call StiWebDesigner1.Design(report);
Do I need to ignore the event (not call StiWebDesigner1.Design) when the stimulsoft_designerfx is set? Why is the designer sometimes re-calling my page (via AJAX I guess) with the stimulsoft_designerfx parameter?
thx