I have performance issue in asp.net page between InitializeCulture and Page_PreInit event. When I override DeterminePostBackMode() I found, that problem is in base.DeterminePostBackMode();
Usually takes a few miliseconds, but sometimes (about 5x per day) it takes very slow (range: few seconds – few minutes).
protected override System.Collections.Specialized.NameValueCollection DeterminePostBackMode()
{
// start measure time with log tool
try
{
System.Collections.Specialized.NameValueCollection coll = base.DeterminePostBackMode();
return coll;
}
catch (Exception ex)
{
// log exception with log tool
throw ex;
}
finally
{
// end measure time with log tool
}
}
I use DevExpress components, IIS 7.5, Internet Explorer 8
Any idea what is wrong? How troubleshoot DeterminePostBackMode() ?
Thanks, Pavel
I found in httperr log file for HTTP API this error: Timer_EntityBody … Internet Explorer send header and body separately. So DeterminePostBackMode() wait for body.
I don´t know what is wrong with body, maybe network problems or something else.