Walkthrough: Installing the Microsoft Dynamics NAV Web Server Components on a Single Computer

In this walkthrough, you will install the tiers of Microsoft Dynamics NAV Web client and Microsoft Dynamics NAV Tablet client in a production environment on one computer.

NAV Web Client installation on one computer

About This Walkthrough

After completing this walkthrough, you will have a functioning four-tier installation on one computer. The installation uses the CRONUS International Ltd. demonstration database, which contains the CRONUS International Ltd. company. Windows authentication is used for authenticating users who try to access the Microsoft Dynamics NAV Web client.

This walkthrough illustrates the following tasks:

Prerequisites

To complete this walkthrough, you will need:

  • Microsoft Dynamics NAV 2016 installation media. For example, this could be a DVD or network drive that contains the Microsoft Dynamics NAV 2016 installation files.

  • A computer that is installed with the following software:

  • A device with a network connection and a supported web browser.

    For a list of supported browsers, see System Requirements for Microsoft Dynamics NAV 2016.

  • Optionally, a domain user account for accessing Microsoft Dynamics NAV Server and Microsoft Dynamics NAV database on the Microsoft SQL Server. The user account must have the following permissions:

    • Permission to log on as a service on the computer where you will install Microsoft Dynamics NAV Server and the computer that is running SQL Server.

    • Permission to register Service Principal Names (SPNs) on itself.

    For information about how to create a domain user account, see Create a New User Account. For information about how to enable permission to log on as a service and register SPNs, see Provisioning the Microsoft Dynamics NAV Server Account.

    Note

    By default, Microsoft Dynamics NAV Setup uses NETWORK SERVICE as the service account. You can use NETWORK SERVICE instead of a domain user account, but this is considered less secure. If you want to use NETWORK SERVICE, then you do not need this prerequisite.

Story

Viktor is a Microsoft Certified Partner working for CRONUS International Ltd. He has been tasked with deploying Microsoft Dynamics NAV Web client for a customer. To meet the customer's requirements, Viktor has decided to deploy the Microsoft Dynamics NAV Web client as follows:

  • Install the Microsoft Dynamics NAV Web Server components, Microsoft Dynamics NAV Server, and SQL server with Microsoft Dynamics NAV database components on one computer.

  • Install the Microsoft Dynamics NAV Web Server components on HTTP port 8080.

  • Use a domain user account instead of the Network Service account as the service account for Microsoft Dynamics NAV Server.

  • Use Windows Authentication to authenticate users.

Installing the Microsoft Dynamics NAV Components

In this procedure, you run Microsoft Dynamics NAV 2016 Setup to install the SQL Server Database components for Microsoft Dynamics NAV, including the CRONUS International Ltd. demonstration database, Microsoft Dynamics NAV Server, and the Microsoft Dynamics NAV Web Server components. During setup, you will assign the domain user account as the service account for the database.

Note

You can also use this procedure to connect to an existing Microsoft Dynamics NAV Server and Microsoft Dynamics NAV database.

To install the Microsoft Dynamics NAV components

  1. From the Microsoft Dynamics NAV installation media, run the setup.exe file to start the Microsoft Dynamics NAV Setup Wizard.

  2. On the Welcome to Microsoft Dynamics NAV 2016 Setup page, choose the Next button.

  3. To accept the license terms, choose I accept.

  4. On the Microsoft Dynamics NAV Setup page, choose Choose an installation option.

  5. On the Choose an Installation Option page, choose Custom.

  6. On the Customize the installation page, to install the Microsoft Dynamics NAV database, select the SQL Server Database Components box, and then select Run from My Computer or Run all from my computer.

    If you choose Run all from my computer, Setup installs the CRONUS International Ltd. demonstration database.

  7. To install the Microsoft Dynamics NAV Server, select the Server box, and then choose Run from My Computer.

  8. To install the Microsoft Dynamics NAV Web client, select the Web Server Components box, and then choose Run from My Computer.

  9. Choose Next to open to the Specify Parameters page.

  10. In the Server section, set the Server account field to the domain user account that you created for access to the Microsoft Dynamics NAV Server, and in the Service Account Password field, type the password for the user account.

  11. In the SQL Server Database Components section, in the SQL Database field, type a name for the Microsoft Dynamics NAV database.

    For this walkthrough, type Demo Database NAV (9-0).

  12. In the Web Server Components section, set the Port field to 8080.

  13. Set the Install IIS prerequisites parameter to Install.

    This enables the IIS features that are required for the Microsoft Dynamics NAV Web client on the computer. For more information about this parameter, see Using Microsoft Dynamics NAV Setup to Install IIS Features.

  14. Choose Apply to complete the installation.

  15. When Setup is complete, choose the Close button.

A website that has the name Microsoft Dynamics NAV 2016 Web Client has been installed on IIS. The website uses port 8080. A website that has the name Microsoft Dynamics NAV 2016 Web Client has been installed on IIS. The website includes a web server instance for Microsoft Dynamics NAV Web client that has the name DynamicsNAV90. The default physical path of the web server instance is C:\inetpub\wwwroot\DynamicsNAV90\.

Allowing Inbound Communication on the Microsoft Dynamics NAV Web Client Port Through the Windows Firewall

Viktor chose to install the Microsoft Dynamics NAV Web Server components on port 8080 of the computer. This port is typically blocked by Windows Firewall. To allow communication to the port from client devices, he must create an inbound rule on the port 8080 in the Windows Firewall setup.

Note

You do not have to perform this task if the computer is running Windows Server 2012.

To create an inbound rule on the port that is used by Microsoft Dynamics NAV Web client

  1. On the Start menu, choose Control Panel, choose System and Security, and then choose Windows Firewall.

  2. In the navigation pane, choose Advanced settings.

  3. In the Windows Firewall with Advanced Settings window, in the navigation pane, choose Inbound Rules, and then in the Actions pane, choose New Rule.

  4. On the Rule Type page, choose Port, and then choose Next.

  5. On the Protocol and Ports page, choose Specific local ports, and then type the port number in the box. For example, type 8080 for the default port of the Microsoft Dynamics NAV Web client.

  6. Choose Next.

  7. On the Action page, choose Allow the connection, and then choose Next.

  8. On the Profile page, choose the profiles, and then choose Next.

  9. On the Name page, type a name for the rule, and then choose Finish.

Opening the Microsoft Dynamics NAV Web client

You can open the Microsoft Dynamics NAV Web client from any device with a supported web browser.

To open the Microsoft Dynamics NAV Web client

  1. Open the web browser.

  2. In the address box, type the following URL:

    http://ComputerName:PortNumber/DynamicsNAV90/WebClient/Default.aspx

    • Substitute ComputerName with the name of the computer that is running the Microsoft Dynamics NAV Web Server components. If you are working on the computer where you installed Microsoft Dynamics NAV Web Server components, then you can use localhost.

    • Substitute PortNumber with the port that you configured for the Microsoft Dynamics NAV Web Server components during Setup.

    • Substitute DynamicsNAV90 with the name of the Microsoft Dynamics NAV Server instance that you configured during Setup. DynamicsNAV90 is the default value.

    For example, if the Microsoft Dynamics NAV Web Server components is installed on port 8080 and the computer has the name NavWeb, then you can use the following URL:

    http://NavWeb:8080/DynamicsNAV90/WebClient/Default.aspx

Troubleshooting

If you are cannot connect the Microsoft Dynamics NAV Web client or you are experiencing problems, see Troubleshooting the Microsoft Dynamics NAV Web Client Installation.

Next Steps

The following is a list of typical tasks to perform after you install Microsoft Dynamics NAV Web Server components.

See Also

Tasks

Walkthrough: Installing the Microsoft Dynamics NAV Web Server Components on a Single Computer
Walkthrough: Installing the Microsoft Dynamics NAV Web Server Components on Two Computers

Concepts

Deploying the Microsoft Dynamics NAV Web Server Components
Deploying the Microsoft Dynamics NAV Web Server Components in a Three Computer Environment
Microsoft Dynamics NAV Web Client Network Architecture
Configuring Microsoft SQL Server
Configuring Microsoft Dynamics NAV Server