Options

Brutal NAV Crash

Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
edited 2011-04-21 in NAV Three Tier
Hi guys!
I'm facing a strange problem. I've a list page, not complex at all, that have InsertAllowed set to yes.
The problem is if I push "New" (standard Action) Navision crashes.
:-k this thingh make me laugh because it's the standard Action...
Anyone of you has already faced a problem like this?
Thx all in advance!
~Rik~
It works as expected... More or Less...

Answers

  • Options
    mihail_kolevmihail_kolev Member Posts: 379
    what is saying our very good friend EventViewer?
    -Mihail- [MCTS]
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    what is saying our very good friend EventViewer?
    Hi Mihail, thx for reply!
    Type: System.ArgumentOutOfRangeException
    Message:
      Index and count must refer to a location within the string.
      Parameter name: count
    StackTrace:
         at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
         at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
         at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
         at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
    Source: Microsoft.Dynamics.Nav.Client
    ----------------------------------
    Type: System.ArgumentOutOfRangeException
    Message:
      Index and count must refer to a location within the string.
      Parameter name: count
    ParamName: count
    StackTrace:
         at System.String.Remove(Int32 startIndex, Int32 count)
         at Microsoft.Dynamics.Nav.Types.Metadata.MetaTable.GetKeyFieldIds(String keyFields)
         at Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, UIBuilderContext context)
         at Microsoft.Dynamics.Nav.Client.FormBuilder.UIBuildManager.BuildPage(MasterPage pageDef, UIBuilderContext context)
         at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)
         at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter)
         at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState)
         at Microsoft.Dynamics.Nav.Client.Actions.NavOpenTaskPageAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
         at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
         at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
         at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke()
         at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter, ActionControl actionControl)
         at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter)
         at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.OnInvoke()
         at Microsoft.Dynamics.Framework.UI.WinForms.ActionPaneActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
         at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ActionItem.OnButtonClick()
         at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ActionButton.OnMouseUp(MouseEventArgs e)
         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
         at System.Windows.Forms.Control.WndProc(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Source: mscorlib
    
    This is the result of EventViewer
    ~Rik~
    It works as expected... More or Less...
  • Options
    mihail_kolevmihail_kolev Member Posts: 379
    Great, I've never seen this message before :oops: . Ok, which is the CardFormID (if not defined, then nav should open the list again) and can you open that card from another location?
    -Mihail- [MCTS]
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Great, I've never seen this message before :oops: . Ok, which is the CardFormID (if not defined, then nav should open the list again) and can you open that card from another location?
    Thx! Mihail! Problem solved cutting the CardFormID!
    ~Rik~
    It works as expected... More or Less...
  • Options
    mihail_kolevmihail_kolev Member Posts: 379
    well, the problem is in the card then.

    You're welcome :)
    -Mihail- [MCTS]
  • Options
    deV.chdeV.ch Member Posts: 543
    I've seen this message before, solved it by using a newer build. If i see such strange behaviour i always try the newest build first, because there's somthing buggy, nav shouldn't crash because of bad page configuration (imo).
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    deV.ch wrote:
    I've seen this message before, solved it by using a newer build. If i see such strange behaviour i always try the newest build first, because there's somthing buggy, nav shouldn't crash because of bad page configuration (imo).
    I've the last build:
    Version W1 6.0 R2 (6.00.32275)
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.