Error while passing CustomSettings.config file in RTC .exe

shettarvikas
Member Posts: 106
Hi,
I am trying to open different database through RTC Shortcut by passing the “CustomSettings.config” in RTC .exe file, below is the command which is written in Target
"C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service\Microsoft.Dynamics.Nav.Server.exe" -settings:"C:\Users\xxx\AppData\Local\Microsoft\Microsoft Dynamics NAV\CustomSettings.config"
And “CustomSettings.config” file contains,
"-settings:"C:\Users\xxx\AppData\Local\Microsoft\Microsoft Dynamics NAV\CustomSettings.config is an Invalid command line argument. Use the /? switch for help"
Please let me know, how can I achieve this
Thanks & Regards,
Vikas
I am trying to open different database through RTC Shortcut by passing the “CustomSettings.config” in RTC .exe file, below is the command which is written in Target
"C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service\Microsoft.Dynamics.Nav.Server.exe" -settings:"C:\Users\xxx\AppData\Local\Microsoft\Microsoft Dynamics NAV\CustomSettings.config"
And “CustomSettings.config” file contains,
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="Server" value="xx.xx.xxx.xxx" /> <add key="ServerInstance" value="ServerInstance" /> <add key="ServerPort" value="7046" /> <add key="ProtectionLevel" value="EncryptAndSign" /> <add key="UrlHistory" value=" xx.xx.xxx.xxx:7046/DynamicsNav" /> <add key="CompressionThreshold" value="64" /> <add key="ChunkSize" value="28" /> <add key="AllowNtlm" value="true" /> <add key="ServicePrincipalNameRequired" value="False" /> <add key="OpenConnectionTimeout" value="00:00:30" /> <add key="ClientCredentialType" value="Windows" /> <add key="DnsIdentity" value="" /> <add key="UnknownSpnHint" value="(net.tcp:// xx.xx.xxx.xxx: 7046/DynamicsNav01/Service)=NoSpn;(net.tcp:// xx.xx.xxx.xxx: 7048/ DynamicsNav02/Service)=NoSpn;" /> </appSettings> </configuration>But on clicking the shortcut, I get
"-settings:"C:\Users\xxx\AppData\Local\Microsoft\Microsoft Dynamics NAV\CustomSettings.config is an Invalid command line argument. Use the /? switch for help"
Please let me know, how can I achieve this
Thanks & Regards,
Vikas
0
Comments
-
From the error message it looks like you are missing ending double quote.0
-
The settings file you are showing looks like the RTC settings file, but you're passing it to the server executable?Christian Heide Damm
Developer @ Microsoft0 -
Good catch!... I overlooked that "small" detail... 8)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