SBX - Search With Button

SBX - Forum Post Title

NAV application crashes

Microsoft Dynamics NAV Forum

Shyamraoo asked a question on 12 Jul 2018 9:04 AM
My Badges

Question Status

Suggested Answer

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

Reply
Suresh Kulla responded on 12 Jul 2018 9:11 AM
Suggested Answer

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

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

Reply
Ahmed M. Rafik responded on 12 Jul 2018 11:27 AM
My Badges
Suggested Answer

Please check this link, it can solve your problem.

community.dynamics.com/.../221931

Reply
Suresh Kulla responded on 12 Jul 2018 9:11 AM
Suggested Answer

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

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

Reply
Ahmed M. Rafik responded on 12 Jul 2018 11:27 AM
My Badges
Suggested Answer

Please check this link, it can solve your problem.

community.dynamics.com/.../221931

Reply

SBX - Two Col Forum

SBX - Migrated JS