Wednesday, April 18, 2012

Remove RTC Service Address Selection?

Hi all,

while connecting to RTC and we have multiple services we find mutiple URL for the service to connect in the window of select server.

Lets see how we can remove the list.

Resolution -

Once we try to connect to a particular service it get stored in the URLHistory key of the client user setting files which is stored in the "C:\Users\username\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\60". Delete the value from the URLHistory and yes that it, the list will be removed.

I hope you will find the soultion usefull.

Thanks & Regards,
Saurav Dhyani

Monday, April 9, 2012

NAV 7 or NAV 2013 Videos

Multiple RTC on Same Machine with Startup Error Resolved

Hi all,

I was just thinking that there should an way that when we start an diffrent RTC Client that is not installed in machine, we should not get an error.

If you haven't read the post how to do it then go to the link.

Why it happens -

Role Tailored Client trys to pull up the last service that have been used succesfully to connect. As in earlier post we created mutiple services for multiple versions

and every service is running. So how the RTC client will figure out which service to run when we click on shortcut of a particular version RTC.

OLD Story -

If you read this post about the command prompt parameter for Role Tailored client then it would be easier to Understand.

How we make RTC Icon to identify which service file it should Pick?

My current system status -

Services -
Version             Port
NAV 2009            4046 & 4047
NAV 2009 SP1 5046 & 5047
NAV 2009 R2         6046 & 6047

Let's Search for a file Clientusersettings, you will find one HIDDEN file inside "C:\Users\username\AppData\Local\Microsoft\Microsoft Dynamics NAV\".
Lets see what this file contain, Below is the image for same.

If you want to find about all parameters then goto the link. I will describe only those are required right now.

Server -  consist of Navision Server Name where Service tier exist.
Server Instance - Instance of Service by default it is DynamicsNAV.
ServerPort -  Where you want to connect.
URL History -  THE URL Of navision that was last connected.

so what i will do is that i will copy this file and will save it inside the same folder where my .exe are present (C:\Program Files (x86)\Microsoft Dynamics NAV\60) 

and name them in the format like

FOR 2009         ClientUserSettings2009
FOR 2009 SP1 ClientUserSettings2009SP1
FOR 2009 R2   ClientUserSettings2009R2

Now lets do the configuration -

I went to Desktop where my shortcuts have been created for diffrent versions. I went to properties of every icon and at the end of the Target line i specified the

setting file that need to be used when i will try to run the cient.

-settings:"C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ClientUserSettings2009.config"

-settings:"C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ClientUserSettings 2009SP1.config"

-settings:"C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 R2 IN\ClientUserSettings2009R2.config"

The whole command in Target for NAV 2009 R2 is now -

"C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 R2 IN\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 R2 IN\ClientUserSettings2009R2.config"

Now when i will click on the particular icon it will start the specified RTC Database without an error.

Thanks & Regards,
Saurav Dhyani

Thursday, April 5, 2012

Navision Cannot generate SSPI context State ID HY000

Hi all,

Sometime while trying to connect database in classic client with windows authentication or connect to Role Tailored Client we face an error message.

Error -
The following ODBC error occurred:
Error: [Microsoft][ODBC SQL Server Driver]Cannot generate SSPI context 
State ID: HY000

Tuesday, April 3, 2012

NAV 7 or NAV 2013 Revealed

Hi all,

Now a days Convergence 2012 is going on. If you are unable to attend you can view the presentation using the link.

You need to create an account on Virtual Convergence and then from sessions select MS Dynamics NAV. You will find Videos there.

Summary of Microsoft Dynamics NAV "7" : The Overwiew-