Running Purchase Page 9307, the server was unable to process the request. The application will close

RodtmcleanRodtmclean Member Posts: 89
Hi,

I'm having this issue for one user that happens to be a super user when running the purchase order list. Another super user is able to access that page without the error. I've deleted the pages from user metadata and also user page metadata.

Regards & Thanks
Roddy


Best Answer

  • RodtmcleanRodtmclean Member Posts: 89
    Answer ✓
    Thanks BBrown, the problem disappeared after deleting user personalisation for that user

Answers

  • RodtmcleanRodtmclean Member Posts: 89
    This is from the event viewer

    The description for Event ID 0 from source MicrosoftDynamicsNAVClient cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
    Fatal: False
    ShowError: True
    Message: The server "BC140" was unable to process the request. The application will close.
    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
    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)
    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
    Message: The server "BC140" was unable to process the request. The application will close.
    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
    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)
  • RodtmcleanRodtmclean Member Posts: 89

    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
    Message: The server "BC140" was unable to process the request. The application will close.
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.LoadAndCacheMetadataForPageAndAllItsDependencies(Int32 pageId, String personalizationId, DataSourceType dataSourceType, String viewName)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.GetMasterPage(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, Boolean doGetDependencies, String viewName)
    at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter, String viewName)
    at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(String name)
    at Microsoft.Dynamics.Framework.UI.UISession.CreateLogicalForm(String name, Boolean reuseActiveForm)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigateToFormAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Nav.Client.Actions.NavNavigateToFormAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, IDictionary state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(LogicalControl logicalControl, NavigationNode node)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationPaneLogicalControl.OnNavigate(NavigationEventArgs e)
    at Microsoft.Dynamics.Framework.UI.NavigationControlBase.Navigate(Object node)
    at Microsoft.Dynamics.Framework.UI.WinForms.NavigationPaneControlAdapter.navigationPaneBarNavigate(Object sender, NavigationPaneNavigateEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnNavigate(NavigationPaneNavigateEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.treeView_Navigate(Object sender, NavigationNodeEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnNodeSelected(NavigationNodeEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnSelected(EventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnClicked(MouseLocationEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.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
    StackTrace:
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
    at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.LoadAndCacheMetadataForPageAndAllItsDependencies(Int32 pageId, String personalizationId, DataSourceType dataSourceType, String viewName)
    at Microsoft.Dynamics.Nav.Client.MetadataHandler.GetMasterPage(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, Boolean doGetDependencies, String viewName)
    at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter, String viewName)
    at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(String name)
    at Microsoft.Dynamics.Framework.UI.UISession.CreateLogicalForm(String name, Boolean reuseActiveForm)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigateToFormAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Nav.Client.Actions.NavNavigateToFormAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(LogicalControl logicalControl, Object state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, IDictionary state, UISession uiSession)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(LogicalControl logicalControl, NavigationNode node)
    at Microsoft.Dynamics.Framework.UI.UX2006.NavigationPaneLogicalControl.OnNavigate(NavigationEventArgs e)
    at Microsoft.Dynamics.Framework.UI.NavigationControlBase.Navigate(Object node)
    at Microsoft.Dynamics.Framework.UI.WinForms.NavigationPaneControlAdapter.navigationPaneBarNavigate(Object sender, NavigationPaneNavigateEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnNavigate(NavigationPaneNavigateEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.treeView_Navigate(Object sender, NavigationNodeEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnNodeSelected(NavigationNodeEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnSelected(EventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnClicked(MouseLocationEventArgs e)
    at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    -
  • RodtmcleanRodtmclean Member Posts: 89

    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
    Message: The server "BC140" was unable to process the request. The application will close.
    HResult: -2146233088
    Type: System.NullReferenceException
    Message: Object reference not set to an instance of an object.
    StackTrace:
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaUtilities.DeepCompare(XmlNode source, XmlNode target)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaUtilities.FindNodeById(XmlNode elementId, String pathId, XmlNodeList elementList, XmlNamespaceManager namespaceManager)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaCalculation.ApplyNodeMove(NavXmlMove move, IDictionary`2 resultNodes)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaCalculation.Apply(IXPathNavigable document, NavXmlDelta delta)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.ApplyDeltaAndCheckDuplicates(Int32 pageId, String personalizationId, XmlDocument document, NavXmlDelta delta, NavSession session, Boolean isConfigurationDelta, Boolean& deltaApplied)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.ApplyPageCustomizationsV1(MasterPage masterPage, Int32 id, String personalizationId, Boolean applyPersonalization)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, String viewName)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPage(Int32 id, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, Boolean forceElementRemovalOptionIfApplicable, String viewName)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMetadataForPageAndAddToCollection(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, PageDependencyResult metadataCollection)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageDependencies(MasterPage page, String personalizationId, Boolean applyPersonalization, ICollection`1 tablesToSkip)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMetadataForPageAndAllItsDependencies(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, ICollection`1 tablesToSkip, String viewName)
    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, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    Source: Microsoft.Dynamics.Nav.Ncl
    HResult: -2147467261
    StackTrace:
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaUtilities.DeepCompare(XmlNode source, XmlNode target)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaUtilities.FindNodeById(XmlNode elementId, String pathId, XmlNodeList elementList, XmlNamespaceManager namespaceManager)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaCalculation.ApplyNodeMove(NavXmlMove move, IDictionary`2 resultNodes)
    at Microsoft.Dynamics.Nav.XmlMetadata.NavXmlDeltaCalculation.Apply(IXPathNavigable document, NavXmlDelta delta)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.ApplyDeltaAndCheckDuplicates(Int32 pageId, String personalizationId, XmlDocument document, NavXmlDelta delta, NavSession session, Boolean isConfigurationDelta, Boolean& deltaApplied)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.ApplyPageCustomizationsV1(MasterPage masterPage, Int32 id, String personalizationId, Boolean applyPersonalization)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, String viewName)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPage(Int32 id, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, Boolean forceElementRemovalOptionIfApplicable, String viewName)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMetadataForPageAndAddToCollection(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, PageDependencyResult metadataCollection)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageDependencies(MasterPage page, String personalizationId, Boolean applyPersonalization, ICollection`1 tablesToSkip)
    at Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMetadataForPageAndAllItsDependencies(Int32 pageId, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, ICollection`1 tablesToSkip, String viewName)
    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, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)


    The message resource is present but the message was not found in the message table
  • bbrownbbrown Member Posts: 3,268
    I was chasing this same error message for a client yesterday. Different situation. It turned out to be a call from an ISV product that executed a call to an external system. That call was failing and NAV was unable to handle the returned error. Which resulted in this message and the NAV client crashing.

    Debug will not stop on the error point. To find it, I had to step thru the code with debug until I narrowed down where it broke to a single line of code. You may need to do the same here. Hope this points you to finding a solution.
    There are no bugs - only undocumented features.
  • RodtmcleanRodtmclean Member Posts: 89
    Answer ✓
    Thanks BBrown, the problem disappeared after deleting user personalisation for that user
Sign In or Register to comment.