Hi everyone,
i've an easy (i think) question, but i don't know what keyword to search, so I ask you some minutes of patience
When you start your nav rtc for the very first time, it automatically connects to "blablabla/DynamicsNAV/Service". What if that service does not exist/is down? Nav makes an error about "...no end point..." and then opens the select server window. Now you can digit the correct address and make the RTC work correctly every time you open it (the setting is saved somewhere).
Now, my customer will go-live with a lot of users, and he told me he don't want to receive that error, but wants the client to automatically connect to the correct database, which is, for example, on:
blablabla/myDyanmicsNAV/myWonderfulServiceName
I just realized that in my development installations, i went straight with the select server window and insert manually the address...but how can i default my server name? some parameter for the executable, some setting...
hope it's clear, thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Answers
In it you'll find the following:
Try changing <add key="Service" value="DynamicsNAV" /> to your prefered service name.
I can try to create it manually by copying from the installation DVD...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
thank you!
actually, it was pretty absurd to have that file in the client installation folder :whistle:
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
So remember to update that file aslo if you expect new users to start the RTC client on the specific machine.
Peter Wibeck
Software Development Engineer in Test
Dynamics NAV Server and Installer team
http://blog.wibeck.org/
In the former case it should be expected that you don't get where you expect. Check the parameters for the function.
In the latter case I would check DNS and name resolution in general (hosts file, WINS, DNS cache ...) and also try a repair installation, first of the client, and, if that still did not help, of the middle tier server also.
I can't run Server Instance as it says, you can't run it because the table contains system data. If I run it in SSMS, it just contains one record with the correct values of the current instance.
Yes, it works in other circumstances. E.g. if I run the object from within Dev environment, it opens the selected instance correctly. Also, if I run an object from an instance of another server, it doesn't try to switch the services.