Hi all,
After Microsoft Released NAV 2009 Three Tier Architecture, we find issues while testing RTC on a version which is not installed.
Most of us uninstall current version and install the required version just for testing purpose.
I thought of creating multiple services for NAV 2009, NAV 2009 SP1 and NAV 2009 R2 in same machine with diffrent port numbers, so that we can run RTC also whenever required.
My Machine have NAV 2009 SP1 installed and i copied the Classic, Service and RoleTailored Client folder on my C Drive for Other two Versions.
I have created two Folders NAV2009 & NAV2009R2 inside "C:\Program Files\Microsoft Dynamics NAV\60".
For Creating Service for NAV 2009 i used the command-
SC CREATE MicrosoftDynamicsNAV2009 binpath= "C:\Program Files\Microsoft Dynamics NAV\60\NAV2009\Service\Microsoft.Dynamics.Nav.Server.exe" start= auto obj= "NT Authority\NetworkService" type= own
For Creating Service for NAV 2009 R2 i used the command-
SC CREATE MicrosoftDynamicsNAV2009R2 binpath= "C:\Program Files\Microsoft Dynamics NAV\60\NAV2009R2\Service\Microsoft.Dynamics.Nav.Server.exe" start= auto obj= "NT Authority\NetworkService" type= own
The Ports numbers i changed in CustomSetting.config file of three Services are-
Version Port Number
NAV 2009 6046 & 6047
NAV 2009 SP1 7046 & 7047
NAV 2009 R2 8046 & 8047
And after starting each service i Ran the .exe file from each RoleTailored Client Folder, which gives an error in the start where is says that version does not match, this is because it tries to connect to Default Port.
Once we change the port number it connect to the service.
* Remember
1) I have used the service Logon Credentials to "NT Authority\NetworkService" and it will only work if the you have created the Network Service on the database you want to connect and set its schema to $ndo$navlistener.
For more information how to do that read the post here.
2) The RTC client will work fine but only for RTC objects, i mean to say that if you have any report which is not developed for RTC Client, you will not be able to run it (beacause while opening a classic report from RTC,it looks in the registry for the path of classic client, which will be set to default for the version that is installed.)
3) FOR windows 7 User Please Run Command Prompt as RUN AS ADMINSTRATOR.
I will try to find a work around for the same and will post again.
Thanks & Regards,
Saurav Dhyani
http://saurav-nav.blogspot.com
I have done similar for my classic clients (4.3, 5.0, 5.1, 6.0, 6.1, 6R2). But I haven't tried setting up multiple RTC clients. If you will find a workaround for running classic reports from copied RTC let us know!
ReplyDeleteHi please find the information for running classic reports from copied RTC in the post-
ReplyDeletehttp://saurav-nav.blogspot.com/2011/10/nav-2009-2009-sp1-and-2009-r2-in-same_21.html
Hi Saurav,
ReplyDeleteTo install NAV 2013 and NAV 2009 in one machine, what are the sequence to follow?
Hi Mk,
DeleteSorry for the delay.. I will surely come up with a post to install all in one computer.
Keep viewing the updates.
Regards,
Saurav Dhyani
Hi Mk,
Deletehere is the post that you can refer.
http://saurav-nav.blogspot.in/2012/12/nav-2013-nav-2009-r2-nav-2009-sp1-nav.html
Let me know if you have any issues.
Regards,
Saurav Dhyani