Parameters for RoleTailored Client

RudiRutsche
Member Posts: 30
Hey!
Ist there any way to use parameters when calling the RoleTailored Client?
Since you have to restart the Client when there have been changes to tables oder reports it is very annoying that the RoleTailored Client tries to connect to the standard port 7046.
Isn`t it possible to define WHICH database to connect to BEFORE the RTC tries to connect?
I there is no way, is it at least possible to shorten the time out setting, so that the RTC won`t try to connect for around half a minute?
Ist there any way to use parameters when calling the RoleTailored Client?
Since you have to restart the Client when there have been changes to tables oder reports it is very annoying that the RoleTailored Client tries to connect to the standard port 7046.
Isn`t it possible to define WHICH database to connect to BEFORE the RTC tries to connect?
I there is no way, is it at least possible to shorten the time out setting, so that the RTC won`t try to connect for around half a minute?
0
Comments
-
Hello
You can modify the ClientUserSetting.config file to achieve what you want. In XP it is stored in
C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\ClientUserSettings.Config
The config file is an xml file.<?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="Server" value="localhost"></add> <add key="ServerInstance" value="DynamicsNAV"></add> <add key="ServerPort" value="7046"></add> </appSettings> </configuration>
On Vista it is stored in a different folder.0 -
There is a bug in CTP4 (which includes the marketing beta) which means that it doesn't store the selected port in the ClientSettings.config file.
Meaning that if you say Select Server and choose MyServer:1234/DynamicsNAV - then it will remember MyServer and DynamicsNAV but it will still try to connect on 7046.
You can modify this manually in the ClientSettings.config , which is in
C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Microsoft Dynamics NAV\
on my Windows XP and my Windows 2003 Server box and
C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV\ on my Vista box.
You can also create a shortcut and start the Role Tailored Client usingdynamicsnav://<servicetier-machine>[:<port>]/<servicetier-instance>/<company>/ example dynamicsnav://myserver:1234/DynamicsNAV/CRONUS%20International%20Ltd./
You can read more about this here:
http://blogs.msdn.com/freddyk/archive/2008/10/31/4-bat-files-for-the-client-tier.aspxFreddy 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
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