Skip to main content

NAV 2013 R2 - Configure a Shortcut to point a Specific Database.

Hi all,

Consider a scenario where your client have two database -

a) Live Database. (Hosted on Port No. 7046)
b) Test Database. (Hosted on Port No. 10046)

Now Client wants to have two shortcuts on User Desktop which should point to Live and Test Database Respectively. User does not require to Select Server and change the database.


- When you click on Windows Client,by Default it tries to connect to Last Successfully Connected database Service.

Question 2 - How it Does This ?

- The information about last successfully connected database service is stored in User Folder of your computer. RTC Clients reads that file and connect to the database.

Question 3 - Can we Change that File?


Question 4 - Can we bound the RTC Shortcut to use a specific configuration file?


Let's See answer of all the Questions that we have in Mind.

- The Configuration file that client use to connect to service is stored at -
C:\Users\<User Name>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71

- File Name - ClientUserSettings.config

- The Configuration file Look like as shown below.

Let's see how can i make a RTC shortcut to point a Other configuration file than standard.

- Copy the configuration file from C:\Users\<User Name>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71 to Say D Drive and Rename it to any name you want or keep it as it is. (I am keeping the file name as same)

- But i change some parameters like service port number, service name so that my shortcut points to a different database.

- Create a shortcut at desktop.

- Go to Properties of that shortcut.

- In Target Window you will see something like this (Default Path of Client) -

"C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe"

- Just Add following Line after the End of Target -

- Your complete Path in Target should be Like -
"C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"d:\ClientUserSettings.config"

Hit Apply and Ok.

Now whenever you click on the Shortcut and if service is running fine, it will point to the database as per your configuration file in D Drive.

I hope you will be able to create as many shortcuts as you want.

Saurav Dhyani


  1. Hi Saurav,

    Can we point the shortcuts to two different company in a same database


Post a Comment

Popular posts from this blog

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

Dynamics 365 Business Central 2021 release wave 2 (BC19) Released.

Hi Readers, As we all were expecting Microsoft have Released Business Central 2021 Release Wave 2 Today a.k.a BC19. In this article we will see what all is announced with the General Availability.  Starting Today Customers & Partners can start using Business Central 19. #msdyn365bc #bc19

Error After Restore SQL Backup of NAV 2013 Database

Hi all, we are facing a conman issue during restoring a SQL Database backup restored for NAV 2013. While Trying to run object from Object Designer we get below listed error (even the service is configured properly) - --------------------------- Microsoft Dynamics NAV Development Environment --------------------------- There are no NAV Server instances available for this database. You must ensure that a NAV Server instance is running and is configured to use the database before you perform this activity. --------------------------- OK    ---------------------------