NAV 2013 client crashes on modify record

Lec11Lec11 Member Posts: 91
edited 2013-07-18 in NAV Three Tier
Hello,

I have an annoying problem in Nav 2013 client. Whenever I try to modify a record (until now I have noticed the problem for vendor and customer record), after I hit the OK or ESC button, the client crashes. In fact the connection is being lost and Nav is throwing the error below:

Microsoft Dynamics NAV
The server "net.[url=tcp://localhost:my_port/my_database/Service]tcp://localhost:my_port/my_database/Service[/url]" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?
Yes No

I've put the debugger on and it seems that the problem is being caused by the line "UpdateCustVendBank.RUN(Rec);" from the OnModify function of Contact table.

Has anybody encountered this type of problem before?

Thanks!

Comments

  • Lec11Lec11 Member Posts: 91
    Seems that renaming OnModify function from Contact table to OnModify2 solved my problem.

    But I do not understand why the problem suddenly appeared, because I was able a few days ago to modify vendors and the function also exists in previous versions and I never had the problem!?
  • mdPartnerNLmdPartnerNL Member Posts: 802
    Nice you found a workaround but are you skipping the entire OnModify?
  • frankdynamicfrankdynamic Member Posts: 11
    We have the same problem with rename Itemno.
  • deV.chdeV.ch Member Posts: 543
    1. Have you tried to turn it on and off again? (sorry for the "it crowd" quote...) 8) But have you tried to restart the service tier?
    2. Please post the event log from the server so that we can investigate the real error happening on the service tier.
  • frankdynamicfrankdynamic Member Posts: 11
    Hereunder event log. One from the client and onde from the server.

    Log Name: Application
    Source: MicrosoftDynamicsNAVClient
    Date: 12-7-2013 12:24:01
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer:
    Description:
    Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
    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.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(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.WinClient.RunCore()
    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.WinClient.Run()
    Source: Microsoft.Dynamics.Nav.Client
    Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
    Source: Microsoft.Dynamics.Nav.Client
    Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.ValidateField(NavRecordState& state, Int32 fieldId, NavDataSet recDataSet, String controlTriggerMethodName)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ValidateField(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.ValidateField(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.ValidateItem(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.Validate(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.Validate(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ApplicationValidationRule.<ValidateValue>d__0.MoveNext()
    at Microsoft.Dynamics.Framework.UI.ValidationRule.ValidateRuleCollection(ValidationResult result, IEnumerable`1 rules, Object value, ValidationHolder validationHolder)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateRules(ValidationResult result, IEnumerable`1 rules)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateRules(ValidationResult result)
    at Microsoft.Dynamics.Framework.UI.EditLogicalControl.ValidateHost(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.LogicalControl.Microsoft.Dynamics.Framework.UI.IValidationHost.ValidateHost(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateInternal(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.PerformValidation(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate(ValidationOptions options)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate()
    at Microsoft.Dynamics.Framework.UI.EditLogicalControl.SetObjectValue(Object value)
    at Microsoft.Dynamics.Framework.UI.StringControl.SetObjectValue(Object value)
    at Microsoft.Dynamics.Framework.UI.StringControl.set_StringValue(String value)
    at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.TrySaveValueWhenTextHasChanged()
    at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.OnSaveValue()
    at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.SaveValue()
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.CurrentFocusedAfterSave()
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.ProcessNavigationKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.BusinessForm_PreviewProcessDialogKey(Object sender, HandledPreviewKeyDownEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessForm.OnPreviewProcessDialogKey(HandledPreviewKeyDownEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessForm.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ExpanderBox.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
    at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
    at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
    Type: System.ServiceModel.FaultException
    Action: http://schemas.microsoft.com/net/2005/1 ... cher/fault
    Message: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
    StackTrace:

    Server stack trace:
    at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Microsoft.Dynamics.Nav.Types.INavService.ValidateField(FieldRequest fieldRequest, NavRecordState dataSetState)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.<>c__DisplayClass3b.<ValidateField>b__3a()
    at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

    Exception rethrown at [1]:
    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
    Source: mscorlib

    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="2013-07-12T10:24:01.000000000Z" />
    <EventRecordID>79975</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
    </System>
    <EventData>
    <Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
    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.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(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.WinClient.RunCore()
    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.WinClient.Run()
    Source: Microsoft.Dynamics.Nav.Client
    Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
    at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
    Source: Microsoft.Dynamics.Nav.Client
    Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
    Message: De verbinding met de server is verbroken. De toepassing wordt gesloten.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.ValidateField(NavRecordState& state, Int32 fieldId, NavDataSet recDataSet, String controlTriggerMethodName)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ValidateField(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.ValidateField(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.ValidateItem(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.Validate(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.Validate(ValidationItem validationItem)
    at Microsoft.Dynamics.Nav.Client.Validation.ApplicationValidationRule.<ValidateValue>d__0.MoveNext()
    at Microsoft.Dynamics.Framework.UI.ValidationRule.ValidateRuleCollection(ValidationResult result, IEnumerable`1 rules, Object value, ValidationHolder validationHolder)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateRules(ValidationResult result, IEnumerable`1 rules)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateRules(ValidationResult result)
    at Microsoft.Dynamics.Framework.UI.EditLogicalControl.ValidateHost(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.LogicalControl.Microsoft.Dynamics.Framework.UI.IValidationHost.ValidateHost(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateInternal(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.PerformValidation(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate(ValidationResult validationResult)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate(ValidationOptions options)
    at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate()
    at Microsoft.Dynamics.Framework.UI.EditLogicalControl.SetObjectValue(Object value)
    at Microsoft.Dynamics.Framework.UI.StringControl.SetObjectValue(Object value)
    at Microsoft.Dynamics.Framework.UI.StringControl.set_StringValue(String value)
    at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.TrySaveValueWhenTextHasChanged()
    at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.OnSaveValue()
    at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.SaveValue()
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.CurrentFocusedAfterSave()
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.ProcessNavigationKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.BusinessForm_PreviewProcessDialogKey(Object sender, HandledPreviewKeyDownEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessForm.OnPreviewProcessDialogKey(HandledPreviewKeyDownEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessForm.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.LayoutPlaceholder.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ExpanderBox.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
    at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
    at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
    Type: System.ServiceModel.FaultException
    Action: http://schemas.microsoft.com/net/2005/1 ... cher/fault
    Message: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
    StackTrace:

    Server stack trace:
    at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Microsoft.Dynamics.Nav.Types.INavService.ValidateField(FieldRequest fieldRequest, NavRecordState dataSetState)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.<>c__DisplayClass3b.<ValidateField>b__3a()
    at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

    Exception rethrown at [1]:
    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
    Source: mscorlib
    </Data>
    </EventData>
    </Event>




    Log Name: Application
    Source: MicrosoftDynamicsNAVServer
    Date: 12-7-2013 12:23:44
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer:
    Description:
    Service: MicrosoftDynamicsNavServer$TEST
    User: SANAV
    Type: System.AccessViolationException
    Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    StackTrace:
    at Microsoft.Dynamics.Nav.Runtime.NativeMethods.AdapterRenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, Boolean errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRuntimeAdapter.RenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(DataError errorLevel, Boolean runApplicationTrigger, Boolean runGlobalTrigger, NavValue[] values)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(Boolean showDialog, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Service.NSField.ValidateField(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSField.Validate(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass36.<ValidateField>b__35(Connection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
    Source: Microsoft.Dynamics.Nav.Ncl

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
    <System>
    <Provider Name="MicrosoftDynamicsNAVServer" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-07-12T10:23:44.000000000Z" />
    <EventRecordID>79972</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
    </System>
    <EventData>
    <Data>Service: MicrosoftDynamicsNavServer$TEST
    User: SANAV
    Type: System.AccessViolationException
    Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    StackTrace:
    at Microsoft.Dynamics.Nav.Runtime.NativeMethods.AdapterRenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, Boolean errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRuntimeAdapter.RenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(DataError errorLevel, Boolean runApplicationTrigger, Boolean runGlobalTrigger, NavValue[] values)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(Boolean showDialog, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Service.NSField.ValidateField(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSField.Validate(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass36.<ValidateField>b__35(Connection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
    Source: Microsoft.Dynamics.Nav.Ncl
    </Data>
    </EventData>
    </Event>
  • mdPartnerNLmdPartnerNL Member Posts: 802
    So this error always comes up while performing these steps?

    If yes, then eliminate this first on another system, if not, then you should report this to ms.
  • frankdynamicfrankdynamic Member Posts: 11
    thx.
  • mdPartnerNLmdPartnerNL Member Posts: 802
    Please share your solution so others can learn too.
Sign In or Register to comment.