How to: Change 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, Microsoft 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: DynamicsNAV90
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 web.config file.
To change the Microsoft Dynamics NAV Server instance
On the computer that is running Microsoft Dynamics NAV Web Server components, open the web.config file for the web server instance of Microsoft Dynamics NAV Web client. Use a text editor, such as Notepad.
The web.config 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\DynamicsNAV90.
Important
You must open the web.config file as an administrator or have permission to modify the file.
Locate the
<DynamicsNAVSettings>
element.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: DynamicsNAV90
Save the web.config file.
See Also
Tasks
How to: Install the Web Server Components