Connecting to different Dynamics Nav Server

Otto
Member Posts: 17
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
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
-
Can you please attach the two CustomSettings.xml files that you use? (They are in the folder where the service is installed.)
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.Jens Tidemann
Microsoft, Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
Also note that by default the Business Web Services service uses 7047. So if this service is running you may potentially have a conflict.
The ClientUserSettings.config file on the client machine is where you can tell the client which service tier and port to connect to.Tom Cornelius
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
This is my first service config :
<?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 service0 -
I also follow the walk through to install multiple services in one computer, but it seems that my net.tcp.port.sharing service always restart each time i try to connect to Nav services.
Is it possible in the Client User setting to specify 2 or more server port ?
Thanks0 -
I think I know what you're asking - can you have 2 separate instances of RTC on the same machine connecting to 2 separate service tiers?
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.Tom Cornelius
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
yes, you're correct. =D>
Is there any documentation about this command line option ?
Thanks0 -
I'm not sure where it is in the documentation, but if you just type:
C:\>"C:\Program Files\Microsoft Dynamics NAV\60\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" /?
You'll get a list of commandline options:Tom Cornelius
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
You can find a lot of information about multiple service tiers on my blog.
The preferred way of adding additional service tiers is my specifying a different instance.Freddy Kristiansen
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.0 -
Thanks for your help, now i can connect to another instance.
definitely i will check your blog .
Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions