Options

How to point two different databased to 2 services

chandrurecchandrurec Member Posts: 560
edited 2010-01-08 in NAV Three Tier
Hi all,

I have created 2 different services in NAV 2009 RTC.But i dont know how to point the 2 different databased to the two respective services. If anybody know the procedure please reply me.

Thanks in advance

Regards,
chandru.

Comments

  • Options
    Peter_Wibeck_[MSFT]Peter_Wibeck_[MSFT] Member, Microsoft Employee Posts: 78
    Hi

    Simple edit the CustomSettings file for each service and change the "DatabaseServer", "DatabaseInstance" and "DatabaseName" according to the 2 existing databases.

    /Peter
    “This posting is provided "AS IS" with no warranties, and confers no rights.”

    Peter Wibeck
    Software Development Engineer in Test
    Dynamics NAV Server and Installer team
    http://blog.wibeck.org/
  • Options
    WaldoWaldo Member Posts: 3,412
    Well .. create the first service as you're used to (install, config, ...)
    But create the second with a command like this:
    sc \\MYSERVERNAME create MicrosoftDynamicsNAVServer$NAV2009SP1_BE_DEFAULTDB binpath= "C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service NAV2009SP1_BE_DEFAULTDB\Microsoft.Dynamics.Nav.Server.exe $NAV2009SP1_BE_DEFAULTDB" DisplayName= "Microsoft Dynamics NAV Server NAV2009SP1_BE_DEFAULTDB" start= auto type= own
    

    hope it's useful...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.