Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Live Database to Attach

Posted on by 210

Hi

  I have attached Screen Shot . Demo works fine. Now i want to attach Live Database . What steps need to be done

ThanksChronus.png

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Live Database to Attach

    Hello,

    Maybe this helps.

    community.dynamics.com/.../472622

    What release of Dynamics NAV is this? Is it still within the support life cycle?

    Thanks,.

  • Jsingh Profile Picture
    Jsingh 210 on at
    RE: Live Database to Attach

    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

  • Suggested answer
    Akshay_Panchal Profile Picture
    Akshay_Panchal 402 on at
    RE: Live Database to Attach

    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

    0714.service.png

    Thanks,

    Verify, If answer working for you

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans