NAV 2009 R2 RTC client accessing different DB on same pc
Gianfranco
Member Posts: 8
Hello everybody,
I've just installed NAV 2009 R2 RTC client on my development machine (notebook Win XP sp3 - SQL server 2005) and it works as far as I access the Demo DB.
How can I connect to different DB using RTC client.
I know that know it uses only SQL DB and Ms SQL server has been installed by the installation process.
I can access the same DB with SQL classic client but no idea on how to create a new local DB or local "server".
Any help is welcome.
(My system admin is still on holydays!! :x )
Thanks.
I've just installed NAV 2009 R2 RTC client on my development machine (notebook Win XP sp3 - SQL server 2005) and it works as far as I access the Demo DB.
How can I connect to different DB using RTC client.
I know that know it uses only SQL DB and Ms SQL server has been installed by the installation process.
I can access the same DB with SQL classic client but no idea on how to create a new local DB or local "server".
Any help is welcome.
(My system admin is still on holydays!! :x )
Thanks.
0
Comments
-
Hi,
let me see if I understand correctly. You want to open two different databases with one RTC Client? One on your machine and the other one on a server? :?:
Try the following:
Create a <MyServiceName>.config File with a texteditor.<?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="Server" value="<YOUR_MIDDLETIER_SERVERNAME_HERE>" /> <add key="ServerInstance" value="<YOUR_SERVICE_INSTANCE_NAME_HERE>" /> <add key="ServerPort" value="<YOUR_PORT_HERE>" /> <add key="DelegationInfo" value="DomainUser" /> <add key="AllowNtlm" value="false" /> <add key="ServicePrincipalNameRequired" value="true" /> </appSettings> </configuration>
Create a shortcut for your RTC Client. Edit the properties of this shortcut to something like this ..."C:\Program Files\MBS_All_Versions\Navision 6.01\60\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"<PATH_TO_YOUR_CONFIG_FILE>\<CONFIG_FILENAME>"
Also have a look at this http://msdn.microsoft.com/en-us/library/dd301254.aspx
With kind regards
mik0 -
Hello Mik,
thanks for your quick help.
The two databases should be on the same notebook where the client is.
Would your solution work?
Till now, I've been using the classic client to develop on different databases on my pc and then export fob to customers SQL servers DB.
Now I'd like to do the same with the RTC but I must be able to create and access different DB in the same way: close one and open another, etc.
It is not necessary to have two DB open simultaneously.
Thanks again.0 -
Any NAV server can only access one database at a given time.
You have 2 choices to access multiple databases: either shut down the service, modify the config file to access the different server and restart the service. (With a bit of programming here and there you can automate this)
Or have a service for each database.0 -
Hi Gianfranco!
I have two posts for you. (in german :? )
Here is a tool where you can easy install more service tiers on one machine.
That is necessary if you want to access both databases at the same time.
http://www.dynamicsblog.at/index.php/2008/12/06/tag-6-dynamicsblog-adventkalender-nav-20
Here is another solution. But you can build this one by yourself.
In your case create two config files one for each database. Modify the batch files for your environment. That batch file stops the service, changes the config file and starts the service again.
So you can switch databases with only one installed service. Its only a bit quicker then doing this by hand.
http://www.dynamics-community.at/post/2010/02/12/NAV2009-Workaround-Mehrere-NAV-2009-Datenbanken-mit-einem-NAV-Server.aspx
Both things work fine. If you need more information feel free to ask.
greetings mik
With kind regards
mik0 -
Thanks to Google traslator (German is difficult!! :roll: )
I'll try this solution that seems exactly what I needed.
Thanks again.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions