Updated Database from NAV 2013 R5 to NAV 2013 R2 (R9). Import of the .navdata ( one company) file failed with the message mentioned below
- I checked the import on different machines
- The same behavior occurs while renaming a company
- Lines 200000007 etc from table Object Metadata Snapshot were deleted
Can anybody help with respect to this error? Thanks in advance
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The server "xxxx" was unable to process the request. Close the application and start it again.
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.DoHandleThreadException(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 Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
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(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.Framework.UI.Windows.ClientSessionBase.Run()
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: The server "xxxx" was unable to process the request. Close the application and start it again.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
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: The server "AKQ-AG-NAVCross" was unable to process the request. Close the application and start it again.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Upload(StreamTransfer stream)
at Microsoft.Dynamics.Nav.Client.FileActionProvider.InvokeFileAction(IFileDialogProvider fileDialogProvider, FileActionRequest fileActionRequest, UISession uiSession, Int32 maxUploadFileSize, RetrieveFileContents retrieveFileContents, IService service)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass28.<FileActionDialog>b__27()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.<>c__DisplayClass8.<WaitForServerResponse>b__6()
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.ServerInvocationHandler.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.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.ServiceConnectionBase.CloseForm(NavCloseFormArguments& mainForm, NavCloseFormArguments[]& subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.CloseForm(NavCloseFormArguments& , NavCloseFormArguments[]& , Boolean )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.CloseForm(IService service, LogicalForm mainForm, FormResult exitAction, Collection`1 subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.ExecuteCloseForm(Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.ExecuteCloseCore(FormClose formClose, Boolean force)
at Microsoft.Dynamics.Framework.UI.LogicalFormCloseController.DoExecuteCloseThisAndChildForms(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalFormCloseController.PerformFullClose(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.PerformClose(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.Close(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.CloseAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Nav.Client.Actions.ExitAction.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, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.<>c__DisplayClassa.<ModalitySafeInvoke>b__8()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(Action action)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(ActionControl actionControl)
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.OnInvoke()
at Microsoft.Dynamics.Framework.UI.WinForms.ActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
at System.EventHandler.Invoke(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 Microsoft.Dynamics.Framework.UI.WinForms.ActionControlAdapter.ActionButton.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.Nav.Client.ServiceConnection
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "xxxx" was unable to process the request. Close the application and start it again.
HResult: -2146233088
----------------------------------
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.GetWritableSqlValue(NCLMetaField field, NavValue value)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.ExecuteInsert(IRecordBuffer record)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteCommandAndCacheOnSuccess[T](NavSqlCommandCacheKey commandKey, Func`1 createFunc, Func`2 executeFunc)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.Insert(NavDatabase database, NCLMetaTable table, Int32 companyIndex, IRecordBuffer record, Boolean retrieveTimestamp, NavValue& identityValue, NavBigInteger& timestampValue)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.Insert(NavDatabase database, NCLMetaTable table, Int32 companyToken, IRecordBuffer recordBuffer, NavValue& identityValue, NavBigInteger& timestampValue)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.GetCompaniesAndInclusion(NavSqlDataExportHeader header, NavDatabase tenantDatabase, NCLMetaTable companyTable, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.ReadTenantTables(BinaryReader reader, Boolean emptyTenantDatabase, NavSqlDataExportHeader header, NavDatabase tenantDatabase, SqlBulkCopy sqlBulkCopy, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.<>c__DisplayClass20.<ReadTenantDatabase>b__1f()
at Microsoft.Dynamics.Nav.Runtime.NavDatabase.PerformSynchronizationAction(Action action)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.ReadTenantDatabase(BinaryReader reader, NavSqlDataExportHeader header, NavDatabase tenantDatabase, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.Import(Stream stream, Boolean includeApplication, Boolean includeApplicationDatabaseTables, NavDatabase tenantDatabase, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude, Action`1 reportProgress, Int64 totalBytesInStream, Boolean leaveStreamOpenWhenDone)
at Microsoft.Dynamics.Nav.Runtime.ALDatabase.<>c__DisplayClass9.<ALImportData>b__7(StreamTransfer streamTransfer)
at Microsoft.Dynamics.Nav.Service.NSService.Upload(StreamTransfer stream)
at SyncInvokeUpload(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2147467261
*This post is locked for comments