Prepare NAV Server Environment

Open 'Prepare NAV Server Environment' wizard, choose your NAV version and service to see more information.

Set Rights for WCF

You need Windows XP Service Pack 2 Support Tools to accomplish this step in Windows XP. Make sure that you have installed the optional tools, which can be downloaded here:;displaylang=en&familyid=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en.

Step 1: Open the Microsoft Dynamics NAV client, connect to the NAV administration and company.

Step 2: Select the 'Departments -> Webshop' menu item on the left.

Step 3: Open the 'Setup' directory and click 'Configure Services':

Sana Commerce NAS Setup

Step 4: Select the 'Single NAS Setup' tab when using a single NAS setup. If multiple NAS services will be used, select the 'Multiple NAS Setup' tab.

Step 5: Mark the 'Use Secure Connection (https)' check box and enter the port number on which the WCF will be running (for NAV with Pebblestone Fashion module, the default port number is 6001, for NAV Standard it is 6002).

Step 6: Run the following command (note that this command is case sensitive!): 

httpcfg set urlacl /u PROTOCOL://URL:PORTNUMBER/navision/ /a "O:AUG:AUD:(A;;GA;;;AU)"  
'HttpCfg.exe', which is required for this step, is not available in Windows Server 2008. Use 'Netsh.exe' instead (about which you can read here). In this case, the command will be the following: 
netsh.exe http add urlacl url=PROTOCOL://URL:PORTNUMBER/navision/ user=\USER
Replace the 'USER' tag with the name of the user that will run the Sana Commerce service. Other tag descriptions are explained below.

Step 7: Replace the following replace tags:

#PROTOCOL#: Protocol type (HTTP or HTTPS)
#URL#: Change to:
     + : when the port registrations in the HTTP Server routing table are placed in the "Strong Wildcard" bucket;
     [hostname] : when the port registrations are placed in the "Explicit" bucket;
     [IP-address] : when the port registrations are placed in the "IP-bound Weak Wildcard" bucket;
     * : when the port registrations are placed in the "Weak Wildcard" bucket.

For more information about routing incoming requests, please visit the following link:
#PORTNUMBER#: must be replaced by the port number on which the NAS is running.
To see the detailed description of the 'Httpcfg' command syntax, please check 
As a result, the message 'HttpSetServiceConfiguration completed with 0' should be shown:
Command was Executed Without Errors  
If the result is not '0', it means that an error has occurred while processing the command. In this case, please check whether the format of the command has been written correctly.
For more information about this, please read