InstallationDeveloper Workstation Installation

Developer Workstation Installation

Configure the NAS

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

     
    Creating a New Application Server 

  • Fill in 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 Sana Commerce 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 start the NAS service yet, because first you have to configure the NAV administration (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 cultural and regional settings. 
 
Running NAS in Debugging Mode 
In order to interact and detect problems with program logic, you can start NAS in debugging mode. To start the debugger from the NAV Application Server, you need to include the debug parameter at startup. For example:
 
nas debug,startupparameter="test",servername=PC0123
 
You can also start NAS with a breakpoints parameter to enable you to specify a particular file for saving and loading breakpoints 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 it 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.
InstallationDeveloper Workstation Installation