Hi
I have attached Screen Shot . Demo works fine. Now i want to attach Live Database . What steps need to be done
Thanks
Hello,
Maybe this helps.
community.dynamics.com/.../472622
What release of Dynamics NAV is this? Is it still within the support life cycle?
Thanks,.
Hi
I created another instance. In that i changed Database name. When i run Nav Client i get below error & Instance stops,
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException Fatal: True ShowError: True Message: The connection to the server has been lost. The application will close. 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.Client.NavClientClosingException Fatal: True ShowError: True Message: The connection to the server has been lost. The application will close. StackTrace: at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId) 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.LogicalForm.Close() at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.CloseEmbeddedForm(LogicalForm hostedForm) at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(LogicalForm form) at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName) at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName, NavigationNode node) at Microsoft.Dynamics.Framework.UI.UX2006.NavigateToFormAction.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.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_Selected(Object sender, EventArgs e) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnSelected(EventArgs e) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.SelectNodeByPath(String path) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.SelectNodeByPath(String path) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.SelectNodeByPath(String path) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.set_SelectedNode(NavigationNode value) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnTabShown(EventArgs e) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTab.TabShownInternal() at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPane.set_SetTabIndex(Int32 value) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPane.ClickTab(Point point) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPane.set_MouseDownTabs(Boolean value) at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPane.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.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
Thanks
Hi,
1. Go to the "Dynamic Nav Administrator"
2. There u will see services. Under the Database section you need to change database name
see below screenshot
Thanks,
Verify, If answer working for you
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148