InstallationSingle Server Deployment

Single Server Deployment

Setup NAV2009 Server

This chapter is needed only when you are going to use Sana Commerce with NAV 2009 three-tier environment. It describes the installation and configuration of MS Dynamics NAV 2009 Server and Web Services.
 
Beware: if there is an older version of NAV already installed in the system during the installation of NAV 2009 the previous version will be deleted!

In order to install NAV 2009 Server and Web Services:
  • Run the installer from the NAV 2009 installation disk;
  • Click 'Choose an installation option':


    NAV 2009 Installer

  • Choose the 'Development Environment' option:


    Installation Options Page

After the installation is complete two new services will be available in the Windows 'Services' console:


NAV 2009 Services

Now you need to allow your users the access to the NAV database.
  • Open the NAV Classic client and connect to the NAV administration with credentials that have enough rights to allow access to other users (the 'Super' or 'Security' role). Ask your system administrator, if you do not have access yourself;
  • Go to 'Tools > Security > Windows' logins and enter the user account (with domain name!) that has been chosen as 'SC_Nav2009User' in an empty row;
  • Click the 'Roles' button at the bottom, lookup the 'Super' role and select it;
  • Do the same for 'SC_Webuser';


    Specifying the NAV 2009 Rights For the Users

  • Grant the 'SC_Webuser' user the 'db_owner' role in the NAV 2009 SQL database:


    Granting the 'db_owner' rights to SC_Webuser

 The next step is to configure the NAV 2009 services properly. In order to do this:

  • Open the Windows 'Services' console;
  • Select 'Microsoft Dynamics NAV Server' service and open its preferences;
  • Choose 'This account', click the 'Browse' button and specify the 'SC_Nav2009User' for the 'Log on as' option on the 'Log On' tab;


    Configuring the 'Log on as' Option

  • Select 'Microsoft Dynamics NAV Business Web Services' service and open its preferences;
  • Choose 'Automatic' from the 'Startup' dropdown list on the 'General' tab;
  • Choose 'This account', click the 'Browse' button and specify the 'SC_Nav2009User' for the 'Log on as' option on the 'Log On' tab.
Both services are required to be started under the same user 'SC_Nav2009User' .

After finishing the configuration you should restart the services in the following order: the first is the 'Microsoft Dynamics NAV Server' and the second is the 'Microsoft Dynamics NAV Business Web Services'.

After completing the steps described earlier it is recommended to check the System application events in the Windows 'Event Viewer' in order to be sure that the services were started successfully.


System Application Events for NAV 2009 Services

InstallationSingle Server Deployment