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 a following Microsoft Dynamics NAV Server instance:
- Server name: localhost
- Service instance: DynamicsNAV70
- 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.
To change the Microsoft Dynamics NAV Server
-
On the computer that is running Microsoft Dynamics NAV Web Server components, open the web.config file in a text editor, such as Notepad.
By default, the web.config file is located in the \Program Files\Microsoft Dynamics NAV\70\Web Client folder.
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 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.
Default value: DynamicsNAV70
For more information, see Managing Microsoft Dynamics NAV Server Instances.
-
Save the web.config file.