When I run a page from Object Designer it is launching the RTC pointing towards a different databse. How do I tell the Object Designer to use a different service tier then the one it is already choosing?
It can't be the config file on the service tier can it? How would it know how to get there. There must be a config file on my computer somewhere underneath my user?
Or you can just open the rtc (it will point to the wrong service), click "change server..." and then select the rtc service you want to run.
after that, the obj designer will run the correct pages.
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Thanks for the help. Here is what I have found to solve my problem:
The client is config file is at: C:\Users\(yourusername)\AppData\Local\Microsoft\Microsoft Dynamics NAV\ClientUserSettings.config.
In this xml file are 3 settings which tell the rtc or when running a page from Object Designer where to go:
<add key="Server" value="swk-lab2" />
<add key="ServerInstance" value="DynamicsNAV" />
<add key="ServerPort" value="7046" />
When I changed the "Server" node to be the correct Service Tier server everythings work perfectly. Of course this means my other database will be pointing towards this as well. So a better solution will be to create a table in NAV that holds those 3 values and a quick function that writes those values out to the config file when I want it to.
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
jwilder@stonewallkitchen.com
C:\Program Files\Microsoft Dynamics NAV\60\Service..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
jwilder@stonewallkitchen.com
after that, the obj designer will run the correct pages.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
C:\Users\...AppData\Local\Microsoft\Microsoft NAV (WIN7 path)
server name and database names are mentioned in Customsettings file in servicetier..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
The client is config file is at: C:\Users\(yourusername)\AppData\Local\Microsoft\Microsoft Dynamics NAV\ClientUserSettings.config.
In this xml file are 3 settings which tell the rtc or when running a page from Object Designer where to go:
<add key="Server" value="swk-lab2" />
<add key="ServerInstance" value="DynamicsNAV" />
<add key="ServerPort" value="7046" />
When I changed the "Server" node to be the correct Service Tier server everythings work perfectly. Of course this means my other database will be pointing towards this as well. So a better solution will be to create a table in NAV that holds those 3 values and a quick function that writes those values out to the config file when I want it to.
jwilder@stonewallkitchen.com
NAV Developer
jwilder@stonewallkitchen.com