Set Rights for WCF Service
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 replacement 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, see Routing Incoming Requests on the Microsoft website.
#PORTNUMBER#: must be replaced by the port number on which the NAS is running.
To see the detailed description of the Httpcfg command syntax, see Httpcfg Syntax on the Microsoft website.
As a result, the message HttpSetServiceConfiguration completed with 0 should be shown:
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.