InstallationPrepare NAV Environment

Prepare NAV Environment

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: http://www.microsoft.com/downloads/details.aspx?amp;displaylang=en&familyid=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en.
 

Step 1: 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 2: 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:  http://msdn.microsoft.com/en-us/library/aa364687(VS.85).aspx.
 
#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 http://technet.microsoft.com/en-us/library/cc781601(WS.10).aspx. 
 
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 http://msdn.microsoft.com/en-us/library/ms733768.aspx
InstallationPrepare NAV Environment