Hi Support team,
We are using WebDataGrid (Infragistics4.Web.v11.2, Version=11.2.20112.1019) in one of our application. We have observed following inconsistent exception. Any help on this? This happens inconsistently on some of the UI events or processing. The SummaryRow.GetSummaryValue exception comes as an internal exception.
05 Jul 2012, 07:23:16.482: [18] ERROR Demo.Web.Global [Application_Error] : Exception of type 'System.Web.HttpUnhandledException' was thrown.
05 Jul 2012, 07:23:16.482: [18] ERROR Demo.Web.Global [Application_Error] : 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.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.views_demoview_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\mop_imt\f5044836\6990e107\App_Web_dp1c0cey.5.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
05 Jul 2012, 07:23:16.482: [18] ERROR Demo.Web.Global [Application_Error] : Object reference not set to an instance of an object.
05 Jul 2012, 07:23:16.482: [18] ERROR Demo.Web.Global [Application_Error] : at Infragistics.Web.UI.GridControls.SummaryRow.GetSummaryValue(GridField field, Summary summary, ColumnSummaryInfo colSumInfo, SummaryRowSetting sumRowSetting, Boolean raiseEvnt)
at Infragistics.Web.UI.GridControls.SummaryRow.BehaviorEvents_PreRender(Object sender)
at Infragistics.Web.UI.GridControls.GridBehaviorEvents.OnPreRender()
at Infragistics.Web.UI.GridControls.GridBot.HandlePreRender()
at Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.OnPreRender(EventArgs e)
at Infragistics.Web.UI.GridControls.WebDataGrid.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
Hello Aashay,
When are you getting this exception? Could you please explain in detail the steps to reproduce the issue? Thank you.
Hi Aashay,
Please let me know if you still need assistance with the matter.
This is still a problem, checked more on this issue and found that its worth to share that we are maintaining a collection in session(in-proc) which is acting as data source for this grid. When working on dev machine with visual studio everything seems to be working fine, however when deployed on server this starts failing showing the given exception and stack trace. Also we have noticed this is a problem specifically on IIS 7 with iis 6 things works fine even on server. Also would like to clearly mention here that the same application when using Microsoft's gridview works fine on all machine and versions of IIS. Another important aspect is if we use out-of-proc session even Infragistics WebDatagrid works fine.
So the mainly we are getting this issue when we are using (1)Infragistics WebDatagrid on (2)IIS 7 using (3)in-proc session. If we change any one of (1),(2) or (3) things starts working automagically.
Please check.
This behavior is very strange. Could you please explain the steps to reproduce the issue? Like what exactly you do to get that exception? Is it some particular interaction with the grid or something else?
Let me know if you still need assistance with the matter.