InstallationPrepare NAV Server Environment

Prepare NAV Server Environment

Configure Web Services

Microsoft Dynamics 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 Microsoft 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/ /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, 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"

If you set up multiple Microsoft Dynamics NAV 2009 Server services, the information about how to do this can be found in the 'Multiple NAV 2009 Server Services' chapter.