Partilhar via


Changing the Microsoft Dynamics NAV Server for the Microsoft NAV Web Client

The Microsoft Dynamics NAV Server that the Microsoft Dynamics NAV Web client connects to is configured in the web.config file for the website that is running the Microsoft Dynamics NAV Web Server components. By default, Dynamics NAV Setup configures the Microsoft Dynamics NAV Web client to connect to the following Microsoft Dynamics NAV Server instance:

  • Server name: localhost

  • Service instance: DynamicsNAV110

  • Client service port: 7046

    To change the Microsoft Dynamics NAV Server instance after you install the Microsoft Dynamics NAV Web Server components, you modify the configuration file.

To change the Microsoft Dynamics NAV Server instance

  1. On the computer that is running Microsoft Dynamics NAV Web Server components, open the configuration file for the web server instance of Microsoft Dynamics NAV Web client. Use a text editor, such as Notepad.

    The configuration file is located in the physical path of the virtual directory for the web server instance on Internet Information Services (IIS). By default, the path is %systemroot%\inetpub\wwwroot\[VirtualDirectoryName]. For example, the folder for the default Microsoft Dynamics NAV Web client instance is %systemroot%\inetpub\wwwroot\DynamicsNAV110.

    Important

    You must open the configuration file as an administrator or have permission to modify the file.

  2. Locate the <DynamicsNAVSettings> element.

  3. Change the values for the following <add /> elements.

    Value Description
    ClientServicesPort Specifies the TCP port for the Microsoft Dynamics NAV Server.

    Values: 1-65535

    Default value: 7046
    Server Specifies the name of the computer that is running Microsoft Dynamics NAV Server.

    Default value: localhost
    ServerInstance Specifies the name of the Microsoft Dynamics NAV Server instance that the Microsoft Dynamics NAV Web client connects to.

    For more information, see Managing Microsoft Dynamics NAV Server Instances.

    Default value: DynamicsNAV110
  4. Save the configuration file.

See Also

How to: Install the Web Server Components
Deploying the Microsoft Dynamics NAV Web Server Components