Hi All,
i have created two Dynamics Nav Server , for the second Service I use port : 7047.
But when i try to connect to the second service, i receive an error net.tcp.7046/localhost/DynamicsNav2 not found.
Is it possible that the RTC can connect to different Dynamics Nav Server that using different port ?
Thanks
0
Answers
Also you might want to take a look at the section "Walkthrough: Accessing Multiple NAV Databases from a Single NAV Server Computer" in the installation guide (NAV_install.chm). It describes how to configure a second NAV server on a box where there is allready one NAV server running.
Microsoft, Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.
The ClientUserSettings.config file on the client machine is where you can tell the client which service tier and port to connect to.
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.
<?xml version="1.0" encoding="UTF-8"?>
<appSettings>
<!--
The network protocol used to access the database.
Valid options: Default, NamedPipes, Sockets
-->
<add key="NetType" value="Default"></add>
<!--
Name of the database server to connect to.
-->
<add key="DatabaseServer" value="IDJKT-AXO5021NB"></add>
<!--
Name of the database to connect to.
-->
<add key="DatabaseName" value="Demo Database NAV (6-0)"></add>
<!--
Name of the Microsoft Dynamics NAV Server instance to connect
to (for client) or listen on (for server).
-->
<add key="ServerInstance" value="DynamicsNAV"></add>
<!--
The listening TCP port for the Microsoft Dynamics NAV Server.
This is part of the server's URL.
Valid range: 1-65535
-->
<add key="ServerPort" value="7046"></add>
<!--
The listening HTTP port for the Microsoft Dynamics NAV
Business Web Services.
This is part of the web service's URL.
Valid range: 1-65535
-->
<add key="WebServicePort" value="7046"></add>
This is my second service config :
g="UTF-8"?>
<appSettings>
<!--
The network protocol used to access the database.
Valid options: Default, NamedPipes, Sockets
-->
<add key="NetType" value="Default"/>
<!--
Name of the database server to connect to.
-->
<add key="DatabaseServer" value="IDJKT-AXO5021NB\SQL2008"/>
<!--
Name of the database to connect to.
-->
<add key="DatabaseName" value="NAV2009"/>
<!--
Name of the Microsoft Dynamics NAV Server instance to connect
to (for client) or listen on (for server).
-->
<add key="ServerInstance" value="DynamicsNAV2"/>
<!--
The listening TCP port for the Microsoft Dynamics NAV Server.
This is part of the server's URL.
Valid range: 1-65535
-->
<add key="ServerPort" value="7047"/>
Also i notice in my local setting -> application data - > Microsoft -> ... i found client user Setting.config :
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<add key="Server" value="localhost" />
<add key="ServerInstance" value="DynamicsNAV" />
<add key="ServerPort" value="7046" />
<add key="UrlHistory" value="localhost/DynamicsNAV" />
</appSettings>
</configuration>
In this configuration, it always use port 7046 when trying to connect to the service
Is it possible in the Client User setting to specify 2 or more server port ?
Thanks
The answer is yes. When you start the RTC you can specify which user config file you want to use (there is a command line option that lets you do this). So you can have 2 different config files with 2 different server names/ports specified.
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.
Is there any documentation about this command line option ?
Thanks
You'll get a list of commandline options:
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.
The preferred way of adding additional service tiers is my specifying a different instance.
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
definitely i will check your blog .
Thanks