Skip to main content

NAV 2009, 2009 SP1 and 2009 R2 in Same Machine


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


Comments

  1. 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!

    ReplyDelete
  2. Hi please find the information for running classic reports from copied RTC in the post-
    http://saurav-nav.blogspot.com/2011/10/nav-2009-2009-sp1-and-2009-r2-in-same_21.html

    ReplyDelete
  3. Hi Saurav,

    To install NAV 2013 and NAV 2009 in one machine, what are the sequence to follow?

    ReplyDelete
    Replies
    1. Hi Mk,

      Sorry for the delay.. I will surely come up with a post to install all in one computer.

      Keep viewing the updates.

      Regards,
      Saurav Dhyani

      Delete
    2. Hi Mk,

      here 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

      Delete

Post a Comment

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

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 -