InstallationSingle Server Deployment

Single Server Deployment

Configure Web Services

This chapter is needed only when Sana Commerce connects to the NAV database via the NAV 2009 web service.

NAV 2009 communicates with the database through the Microsoft Dynamics NAV Business Web Services service, which is automatically installed when you install Microsoft Dynamics NAV Server.

To configure Microsoft Dynamics NAV web services:

Use 'HttpCfg.exe' to run the following command (note that this command is case sensitive):

Step 1: Delete any entries that use your host name and web service port by running the following command:

In the commands below the default port number on which the web service is running (7047) and the name of the Microsoft Dynamics NAV Server instance are used. If the web service is running on the other port and the other MS Dynamics Server instance name is used it should be specified instead of the default ones.
httpcfg delete urlacl /u http://+:7047/

Step 2: Register the port by running the following command:

httpcfg set urlacl /u http://+:7047/DynamicsNAV DA;;GX;;;NS)(A;;GX;;;BA)

'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, you should run the following command:

netsh http add urlacl url=http://+:7047/DynamicsNAV user=DomainName\USER

Replace the 'DomainName\USER' tag with your domain name and the name of the user that will run the web service.
By default it looks the following way:

netsh http add urlacl url=http://+:7047/DynamicsNAV user="NT AUTHORITY\NetworkService"

InstallationSingle Server Deployment