Advertisement
Guest User

System.IndexOutOfRangeException from Navision

a guest
Nov 14th, 2012
234
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Type: System.IndexOutOfRangeException
  2. Message: Index was outside the bounds of the array.
  3. StackTrace:
  4.      at Microsoft.Dynamics.Nav.Client.AutomationHandler.CreateDotNetHandle(String assemblyFullName, String typeName, Guid formHandle, String varName, Boolean createInstance, NavAutomationArgument[] arguments)
  5.      at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass36.<CreateDotNetHandle>b__35()
  6.      at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
  7.      at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.<>c__DisplayClass2.<WaitForServerResponse>b__0()
  8.      at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(Action clientRequest, Action`1 sendToServerIfNotFaulted)
  9.      at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
  10.      at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
  11.      at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
  12.      at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
  13.      at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
  14.      at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
  15.      at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](CallServerMethod`1 callServerMethod)
  16.      at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.OpenForm(NavOpenFormArguments& mainForm, NavOpenFormArguments[]& subForms)
  17.      at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.OpenForm(NavOpenFormArguments& , NavOpenFormArguments[]& )
  18.      at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.OpenForm(LogicalForm mainForm, Collection`1 subForms)
  19.      at Microsoft.Dynamics.Nav.Client.UIPatterns.OnFormOpeningPattern.OpenForm(LogicalForm form)
  20.      at Microsoft.Dynamics.Nav.Client.UIPatterns.OnFormOpeningPattern.FormBuilt(Object sender, EventArgs e)
  21.      at System.EventHandler.Invoke(Object sender, EventArgs e)
  22.      at Microsoft.Dynamics.Framework.UI.LogicalForm.OnFormBuilt(EventArgs e)
  23.      at Microsoft.Dynamics.Framework.UI.LogicalForm.BuildForm()
  24.      at Microsoft.Dynamics.Nav.Client.Builder.NavSessionHelper.BuildForm(LogicalForm form)
  25.      at Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)
  26.      at Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, UIBuilderContext context)
  27.      at Microsoft.Dynamics.Nav.Client.FormBuilder.UIBuildManager.BuildPage(MasterPage pageDef, UIBuilderContext context)
  28.      at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)
  29.      at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter)
  30.      at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState)
  31.      at Microsoft.Dynamics.Nav.Client.Actions.NavOpenTaskPageAction.CreateForm(UISession uiSession, NavBindingManager parentBindingManager, FormState formState)
  32.      at Microsoft.Dynamics.Nav.Client.Actions.NavOpenTaskPageAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
  33.      at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
  34.      at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, UISession uiSession)
  35.      at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.<>c__DisplayClass2.<ModalitySafeInvoke>b__0()
  36.      at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(Action action)
  37.      at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(LogicalAction action, LogicalControl control)
  38.      at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.DataGrid_PerformCellAction(Object sender, DataGridViewCellEventArgs e)
  39.      at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.OnPerformCellAction(DataGridViewCellEventArgs e)
  40.      at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.WndProc(Message& m)
  41.      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  42.      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  43.      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  44. Source: Microsoft.Dynamics.Nav.Client.WinForms
  45. HResult: -2146233080
Advertisement
RAW Paste Data Copied
Advertisement