It appears the grid is failing internally, when removing nested column from the Group by area. Grid has summaries on multiple columns. Column name in the stack trace (NORM_PERCENT below) is not consistent. This worked fine in v10.3 using VS2010, but now failing after upgrading to v17.2 in Visual Studio 2017 with no code changes. What does this mean?
System.Transactions Critical: 0 : <TraceRecord xmlns="">schemas.microsoft.com/.../TraceRecord" Severity="Critical"><TraceIdentifier>msdn.microsoft.com/.../TraceIdentifier><Description>Unhandled exception</Description><AppDomain>Active Rebalance Tool.exe</AppDomain><Exception><ExceptionType>Infragistics.Win.CalcEngine.UltraCalcException, Infragistics4.Shared.v17.2, Version=17.2.20172.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</ExceptionType><Message>Infragistics.Win.UltraWinGrid.NestedSummarySettingsReference NORM_PERCENT() - Attempt to set value on readonly reference</Message><StackTrace> at Infragistics.Win.CalcEngine.RefBase.set_Value(UltraCalcValue value)
at Infragistics.Win.CalcEngine.RangeCalcInfo.EvaluateNextRow()
at Infragistics.Win.CalcEngine.UltraCalcEngine.Evaluate(Int64 ticks)
at Infragistics.Win.CalcEngine.UltraCalcEngine.Recalc(Int64 ticks, Boolean isStartOfRecalcOperation)
at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalcInternal(Int64 ticks)
at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalc(Int64 millis)
at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.onTimerTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message&amp; m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at ActiveRebalanceTool.My.MyApplication.Main(String[] Args) in :line 81</StackTrace><ExceptionString>Infragistics.Win.CalcEngine.UltraCalcException: Infragistics.Win.UltraWinGrid.NestedSummarySettingsReference NORM_PERCENT() - Attempt to set value on readonly reference
at Infragistics.Win.CalcEngine.RefBase.set_Value(UltraCalcValue value)
at MyTool.My.MyApplication.Main(String[] Args) in :line 81</ExceptionString></Exception></TraceRecord>
Hello Michael,
We had the issue that In UltraGrid grouping by multiple columns when summaries are present leads to exception in CalcEngine and this issue has already been fixed and available to use .
In order to get the fix update your dlld with the latest bi-weekly build 2020.
http://builds.infragistics.com/products/WinForms/2017.2/Infragistics_WinForms_20172.2020_SR.zip
Let me know if you have any questions
This resolved the issue. Thanks!