InstallationSingle Server Deployment

Single Server Deployment

Configure the NAS

  • Open the newly installed Application Server Manager;
  • Click right on the root node, select 'New' and select 'Application Server':

     
    Creating a New Application Server 

  • Enter the hostname of the server and the NAS service name in the popup. Note that when for example the NAS service in the services manager window is called Microsoft Dynamics NAV Application Server DEV-UA-WS003-SQL you should fill in DEV-UA-WS003-SQL.
    Click the 'OK' button and when the application server manager was able to connect to the NAS service a new node is added under the root:

     
    Filling in the Application Server Parameters 

  • Select the new node and enter the NAS parameters with the following values:
    Database Server Name: Server name on which the NAV administration is installed.
    Database: Name of the NAV administration database.
    Company Name: Company name of the NAV administration to which SCL needs to connect.
    Start-Up Parameter: SCL.
    Net Type: TCP/IP Sockets.
    Object Cache Size (KB): 32000.
  • Click the 'Apply these settings' button when finished.

You should not yet start the NAS service, because you still have to configure the NAV administration first (next steps).

Please take into account that a user who runs the Sana Commerce web application and the NAS user who runs the NAS service process should have the same culture and regional settings. 

Running NAS in Debugging Mode 
In order to interact and detect problems with program logic you can start NAS in a debugging mode. To start the debugger from the NAV Application Server, you need to include the debug parameter at start-up. For example:
 
nas debug,startupparameter="test",servername=PC0123
 
You can also start NAS with a breakpoints parameter. This enables you to specify a particular file for saving and loading breakpoints and is done by adding the 'breakpoints' keyword and a path to the file:
 
nas debug,breakpoints=C:\file.xml,startupparameter="test",servername=PC0123
 
If you stop the debugger, you cannot start it again unless you terminate the NAV Application Server and then restart with the debug parameter.
 
To be able to start the debugger, you must ensure that there is a developer license file in the NAV Application Server installation folder.
InstallationSingle Server Deployment