web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV application crashes

(0) ShareShare
ReportReport
Posted on by 354

Hi 

The NAV application crashes when try to update some fields in sales order,

Can someone check the below eventlog details and help me on this.

Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: <ii>The server "DynamicsNAV100" was unable to process the request. The application will close.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(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(IntPtr 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 Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: <ii>The server "DynamicsNAV100" was unable to process the request. The application will close.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: <ii>The server "DynamicsNAV100" was unable to process the request. The application will close.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.MetadataHandler.LoadAndCacheMetadataForPageAndAllItsDependencies(Int32 pageId, String personalizationId)
at Microsoft.Dynamics.Nav.Client.MetadataHandler.GetMasterPage(Int32 pageId, String personalizationId, Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Client.PageRunCallbackHandler.GetMasterPage(PageType pageType, Int32 pageId, String personalizationId, Guid formHandle)
at Microsoft.Dynamics.Nav.Client.PageRunCallbackHandler.RunModalPage(FormRunModalRequest formRequest, LogicalForm parentForm)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass38_0.<FormRunModal>b__0()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass15_0.<RunClientRequest>b__0()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(Action clientRequest, Action`1 sendToServerIfNotFaulted)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.ValidateField(NavRecordState& state, NavDataSet recDataSet, Int32 controlId)
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.RowEntryValidateItem.ValidateItem(ValidationItem validationItem)
at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.ExecuteValidation(ValidationItem validationItem, String message)
at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.ValidateItem(ValidationItem validationItem)
at Microsoft.Dynamics.Nav.Client.Validation.ValidationHelper.Validate(IValidationCaller validationCaller, ValidationItem validationItem)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.Validate(IValidationCaller validationCaller, ValidationItem validationItem)
at Microsoft.Dynamics.Nav.Client.Validation.FieldValidationRule.<ValidateValue>d__4.MoveNext()
at Microsoft.Dynamics.Framework.UI.ValidationRule.ValidateRuleCollection(ValidationResult result, IEnumerable`1 rules, Object value, IValidationCaller validationCaller)
at Microsoft.Dynamics.Framework.UI.EditLogicalControl.ValidateHost(IValidationCaller validationCaller, ValidationResult validationResult)
at Microsoft.Dynamics.Framework.UI.ValidationHolder.ValidateInternal(IValidationCaller validationCaller, ValidationResult validationResult)
at Microsoft.Dynamics.Framework.UI.ValidationHolder.PerformValidation(IValidationCaller validationCaller, ValidationResult validationResult)
at Microsoft.Dynamics.Framework.UI.ValidationHolder.Validate(ValidationResult validationResult)
at Microsoft.Dynamics.Framework.UI.EditLogicalControl.SetObjectValue(Object value)
at Microsoft.Dynamics.Framework.UI.SelectionControl.SetIndexValue(Int32 newIndex)
at Microsoft.Dynamics.Framework.UI.SelectionControl.set_CurrentIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.SaveValue()
at Microsoft.Dynamics.Framework.UI.WinForms.ComboBoxControlAdapter.ComboBox_SelectedIndexChanged(Object sender, SelectedIndexChangedEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ComboView.Index(Int32 value, SelectedIndexChangedReason reason)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ComboView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: <ii>The server "DynamicsNAV100" was unable to process the request. The application will close.</ii>
HResult: -2146233088
----------------------------------
Type: System.NotSupportedException
Message: <ii>Specified method is not supported.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.set_RawScopeId(UInt32 value)
at Microsoft.Dynamics.Nav.Runtime.ALCodeEnvironment.GetOrAssignScopeId(ApplicationObjectId objectId, IRawScopeIdProvider scopeIdProvider, Boolean setBreakpointFlag)
at Microsoft.Dynamics.Nav.Runtime.ALCodeEnvironment.GetLineNumberAndStatement(NavMethodScope methodScope, SourceContextInfo infoParam)
at Microsoft.Dynamics.Nav.Runtime.SqlProfilerCommentProvider.GetCurrentStatement()
at Microsoft.Dynamics.Nav.Runtime.SqlProfilerCommentProvider.WriteAlCallStackToSql(NavDatabase database)
at Microsoft.Dynamics.Nav.Runtime.SqlTableDataProvider.Find(FindProviderRequest request, Func`1 onlyCurrentKeyNeededForNextRow)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.InnerFind(FindCacheRequest request, Boolean fromPosition, Func`1 onlyCurrentKeyNeededForNextRow)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.FindFirstRecord(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindFirst(DataError errorLevel)
at Microsoft.Dynamics.Nav.XmlMetadata.NavConfiguration.LoadPersonalizationDelta(Guid userid, Int32 pageId, String personalizationId)
at Microsoft.Dynamics.Nav.XmlMetadata.NavConfiguration.LoadPersonalizationDelta(Int32 pageId, String personalizationId)
at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, String personalizationId, Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPage(Int32 id, String personalizationId, Boolean applyPersonalization, Boolean forceElementRemovalOptionIfApplicable)
at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMetadataForPageAndAllItsDependencies(Int32 pageId, String personalizationId, Boolean applyPersonalization, ICollection`1 tablesToSkip)
at SyncInvokeGetMetadataForPageAndAllItsDependencies(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass22_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass22_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233067

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    Try to delete the personalizationXml file and try. You can find the file at the following location

    %AppData%\Roaming\Microsoft\Microsoft Dynamics NAV.

  • Suggested answer
    Ahmed Mohamed Rafik Profile Picture
    3,049 User Group Leader on at

    Please check this link, it can solve your problem.

    community.dynamics.com/.../221931

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans