Options

Record Links problem on RTC client

dbabasdbabas Member Posts: 33
edited 2011-05-03 in NAV Three Tier
Hello all.
I have the following problem when I'm trying to use "Record Links" in a custom table that I have created:
-I made a Card page, using the wizard, that has as source table the new custom table.
-When I run the page, I can go to Actions menu and run Links but when I push "New" to add a new link, I receive a "beep" sound.
-If I continue and choose a file, when I'm trying to save this file the program stops with the following error:

"Microsoft Dynamics NAV has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

I must also mention that I can create and save links without problem with the classic client.

My system: Windows 7 32bit.

Any idea?

Thanks

Comments

  • Options
    beranberan Member, Microsoft Employee Posts: 80
    Can you show the stack trace from the Event Viewer?
    Eric Beran
    Software Design Engineer II
    Dynamics NAV Office 365
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Options
    dbabasdbabas Member Posts: 33
    Log Name: Application
    Source: MicrosoftDynamicsNAVClient
    Date: 18/4/2011 1:16:56 μμ
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: PC.meta.gr
    Description:
    Type: System.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    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.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    StackTrace:
    at Microsoft.Dynamics.Framework.UI.BindingManager.set_State(BindingManagerState value)
    at Microsoft.Dynamics.Framework.UI.VirtualRows.Insert()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.InsertNewRowFirst()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.CreateNewRow()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.SaveEditPanelCore()
    at Microsoft.Dynamics.Nav.Client.Actions.RecordLinksBaseSaveAction.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.ActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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: Microsoft.Dynamics.Framework.UI

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
    <System>
    <Provider Name="MicrosoftDynamicsNAVClient" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-04-18T10:16:56.000000000Z" />
    <EventRecordID>7141</EventRecordID>
    <Channel>Application</Channel>
    <Computer>PC.meta.gr</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Type: System.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    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.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    StackTrace:
    at Microsoft.Dynamics.Framework.UI.BindingManager.set_State(BindingManagerState value)
    at Microsoft.Dynamics.Framework.UI.VirtualRows.Insert()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.InsertNewRowFirst()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.CreateNewRow()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.SaveEditPanelCore()
    at Microsoft.Dynamics.Nav.Client.Actions.RecordLinksBaseSaveAction.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.ActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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: Microsoft.Dynamics.Framework.UI
    </Data>
    </EventData>
    </Event>
  • Options
    beranberan Member, Microsoft Employee Posts: 80
    The exception tells me that the error came earlier than the new.

    The record link that you see on most pages to the right is running in a special way. You might have hit some of the special behavior for RecordLink/Notes. But it should be possible. Please submit a normal hotfix for R2.
    Eric Beran
    Software Design Engineer II
    Dynamics NAV Office 365
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Options
    Scott_FrappierScott_Frappier Member Posts: 90
    We have just run into this error (today) as well - here's our stack trace (NAV 2009 RTM - 6.0.27808):


    Type: System.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.Application_ThreadException(Object sender, ThreadExceptionEventArgs e)
    at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    at System.Windows.Forms.Control.WndProcException(Exception e)
    at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 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 System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.Dynamics.Nav.Client.Program.MainCore(String[] args)
    at Microsoft.Dynamics.Nav.Client.Program.Main(String[] args)
    Source: Microsoft.Dynamics.Nav.Client
    Type: System.InvalidOperationException
    Message: Binding manager cannot change state from InError to Filled.
    StackTrace:
    at Microsoft.Dynamics.Framework.UI.BindingManager.set_State(BindingManagerState value)
    at Microsoft.Dynamics.Framework.UI.VirtualRows.Insert()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.InsertNewRowFirst()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.CreateNewRow()
    at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksControl.SaveEditPanelCore()
    at Microsoft.Dynamics.Nav.Client.Actions.RecordLinksBaseSaveAction.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.ActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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: Microsoft.Dynamics.Framework.UI

    This happens for some reason from an Item when the Ctrl+L is pressed, and then a new link is added in the RTC - it does not happen in the Classic Client and not on all items.

    Also - when adding a link to the Classic Client, it does not show up in the RTC for the item that is in question. It does work on other items, but the Item No. we're using is: IA-12K 4" FLTFINAL.

    Note - after posting this we discovered that it was the double-quote that caused this issue in the Item Number...nice....
    Scott Frappier
    Vice President, Deployment Operations

    Symbiant Technologies, Inc.
    http://www.symbiantsolutions.com
  • Options
    dbabasdbabas Member Posts: 33
    After upgrade from 2009 SP1 to R2 the same problem exist.
Sign In or Register to comment.