wenn man auf die Action "Artikelablaufverfolgung" in der Page "6505 Chargennr.-Informationskarte klickt, dann stĂĽrzt der Client ab, so dass man nicht debuggen kann.
Ich habe es so weit verfolgt, das es etwas mit dieser Schleife zu tun hat.
Vielleicht hat das auch was mit weiter unten damit zu tun.
Diese Fehlermeldung taucht auf unter Ereignisanzeige:
- Code: Alles auswählen
Type: System.ArgumentOutOfRangeException Message: Der Index lag auĂźerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein. Parametername: index StackTrace: bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0() bei Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute) bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute) bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode) Source: Microsoft.Dynamics.Nav.Client.WinClient HResult: -2146233086 StackTrace: bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0() bei Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute) bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute) bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode) ---------------------------------- Type: System.ArgumentOutOfRangeException Message: Der Index lag auĂźerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein. Parametername: index ParamName: index StackTrace: bei System.Collections.ArrayList.get_Item(Int32 index) bei System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex) bei System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.FirstVisibleCellIndex(Int32 rowIndex, Int32 columnIndex) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.SelectIndex(Int32 newIndex) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.DataGrid_PostHandleCreated(Object sender, EventArgs e) bei Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.OnPostHandleCreated(EventArgs e) bei System.Windows.Forms.Control.WmCreate(Message& m) bei System.Windows.Forms.Control.WndProc(Message& m) bei Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Source: mscorlib HResult: -2146233086 StackTrace: bei System.Collections.ArrayList.get_Item(Int32 index) bei System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex) bei System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.FirstVisibleCellIndex(Int32 rowIndex, Int32 columnIndex) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.SelectIndex(Int32 newIndex) bei Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.DataGrid_PostHandleCreated(Object sender, EventArgs e) bei Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.OnPostHandleCreated(EventArgs e) bei System.Windows.Forms.Control.WmCreate(Message& m) bei System.Windows.Forms.Control.WndProc(Message& m) bei Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Ăśber eine positive RĂĽckmeldung freue ich mich sehr.