When you install the Microsoft Dynamics NAV Web Server components, a website with a root-level application for the Microsoft Dynamics NAV Web client is added on IIS. There may be instances when you want to set multiple Microsoft Dynamics NAV Web client applications on the website, so you can set up an environment that has the following characteristics:

Setting Up Multiple Applications

In this procedure, you will modify the Microsoft Dynamics NAV Web client site to include multiple Microsoft Dynamics NAV Web client applications. Each Microsoft Dynamics NAV Web client application has its own physical path, with its own web.config file and content files, on the web server.

To set up multiple Microsoft Dynamics NAV Web client applications, you create folders in the Microsoft Dynamics NAV Web client installation folder for each Microsoft Dynamics NAV Web client application, and then move all files from the root-level application to the new folders. The folders define the physical path of each Microsoft Dynamics NAV Web client application. After you have created the folders, you use Internet Information Services Manager to convert the folders to applications. You can also change the Microsoft Dynamics NAV settings, such as the Microsoft Dynamics NAV Server instance or language, for each Microsoft Dynamics NAV Web client application by modifying the application’s web.config file.

Important
The resultant website will not have a Microsoft Dynamics NAV Web client application at the root-level. This means that the original site address, for example, http://MyNavWebServer:8080, will no longer open the Microsoft Dynamics NAV Web client. To open the Microsoft Dynamics NAV Web client, you have to include the application alias in the address, for example, http://MyNavWebServer:8080/english or http://MyNavWebServer:8080/danish.
Note
You can only add one level of applications on a website.

To add the folders for the Microsoft Dynamics NAV Web client applications

  1. On the web server for the Microsoft Dynamics NAV Web client, open the root folder for the Microsoft Dynamics NAV Web client installation.

    By default, the folder is c:\Programs\Microsoft Dynamics NAV\70\Web Client.

  2. In the root folder, create a new folder for each Microsoft Dynamics NAV Web client application that you want to add.

    The folders will define the physical paths to the different Microsoft Dynamics NAV Web client applications.

  3. Move all files and folders from the root folder to the new application folders. Only the new application folders remain at the root level.

To convert the folders to applications

  1. Open Internet Information Services (IIS) Manager.

    On the Start menu, in the Search Programs and Files box, type inetmgr, and then press Enter.

    Note
    If Internet Information Services (IIS) Manager is not installed, see How to: Install and Configure Internet Information Services for Microsoft Dynamics NAV Web Client.
  2. In the Connections pane, expand Sites, and then expand the Microsoft Dynamics NAV 2013 Web Client site.

    You should see the applications folders that you created.

  3. To convert a folder to an application, right-click the folder, and then choose Convert to Application.

  4. On the Add Application dialog box, verify the settings, and then choose the OK button.

  5. To configure additional settings for each Microsoft Dynamics NAV Web client application, such as the Microsoft Dynamics NAV Server instance, language, or time zone, modify the application’s web.config file.

    For more information, see Configuring Microsoft Dynamics NAV Web Client by Modifying the Web.Config File.

To configure Microsoft Dynamics NAV settings for a Microsoft Dynamics NAV Web client application

  1. On the computer that you installed the Microsoft Dynamics NAV Web Server components, open the physical path for Microsoft Dynamics NAV Web client application.

  2. Open the web.config file in a text editor, such as Notepad.

  3. Locate the <DynamicsNAVSettings> element.

  4. Change the parameter values as needed.

    For more information, see Configuring Microsoft Dynamics NAV Web Client by Modifying the Web.Config File.

  5. Save the web.config file.

See Also