Server cannot set status after HTTP header [v2012.2.1400.0]

Stimulsoft Reports.WEB discussion
Post Reply
Gui
Posts: 2
Joined: Wed Feb 20, 2013 9:35 am

Server cannot set status after HTTP header [v2012.2.1400.0]

Post by Gui »

Hi,

Recently I've seen my exception log filling up with exceptions from the report designer,
I don't think the problem is visible from the user POV (no complaints from users), it's just visible when logging errors from the Global.asax:

Code: Select all

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. 
---> System.Web.HttpException (0x80004005): Server cannot set status after HTTP headers have been sent.     
at System.Web.HttpResponse.set_StatusCode(Int32 value)     
at Stimulsoft.Report.Web.StiWebDesigner.ResponseBuffer(Byte[] buffer, String contentType, Int32 cacheTimeout, String fileName)     
at Stimulsoft.Report.Web.StiWebDesigner.ResponseBuffer(Byte[] buffer, String contentType)     
at Stimulsoft.Report.Web.StiWebDesigner.Design(StiReport designReport)     
at HrWeb.UI.Web.Modules.Reporting.ReportDesigner.StiWebDesigner1_Init(Object sender, EventArgs e)     
at Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e)     
at System.Web.UI.Control.InitRecursive(Control namingContainer)     
at System.Web.UI.Control.InitRecursive(Control namingContainer)     
at System.Web.UI.Control.AddedControl(Control control, Int32 index)     
at HrWeb.UI.Web.Pages.PopupContainer.AddToPlace(Int32 windowsContentId, Int32 windowsValueId)     
at HrWeb.UI.Web.Pages.PopupContainer.Page_Load(Object sender, EventArgs e)     
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     
at System.Web.UI.Control.LoadRecursive()     
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     
at System.Web.UI.Page.HandleError(Exception e)     
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     
at System.Web.UI.Page.ProcessRequest()     
at System.Web.UI.Page.ProcessRequest(HttpContext context)     
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I'm adding the module to the page Controls at the Page_Load. Do you have any idea how I can prevent this exception?

Thanks in advance,

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

Re: Server cannot set status after HTTP header [v2012.2.140

Post by HighAley »

Hello.

Please, try the latest prerelease build that is available on our site.

Thank you.
Post Reply