how to Debugging nav2013 and nav2013R2 in same time

sebiussebius Member Posts: 5
edited 2013-11-07 in NAV Three Tier
Hi,
can we run Session(Debugging) nav2013 after installed nav2013R2 and how to do it? coz i can not run debugging nav2013 ,it away run Session from NAV2013R2 :(

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    one way to achieve this is we need to adjust the path of NAV in registry under
    HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command
  • sebiussebius Member Posts: 5
    mohana thk!! it very helpful :D

    but when i changed regedit that you say to old version(NAV2013) and when i run session on NAV2013 it nothing happen,then i check at Event Viewer .it have application error. you can advice me to pass this. :)
  • tedl30tedl30 Member Posts: 59
    sebius wrote:
    mohana thk!! it very helpful :D

    but when i changed regedit that you say to old version(NAV2013) and when i run session on NAV2013 it nothing happen,then i check at Event Viewer .it have application error. you can advice me to pass this. :)

    I have the same problem
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Can you show me the data which you have set in above registry.
  • tedl30tedl30 Member Posts: 59
    Can you show me the data which you have set in above registry.


    Dynamics 70

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""


    Dynamics 71

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""




    This is my registry setup for 70 (2013) and 71 (2013 R2)
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    I never tried in above path
    Did you try by setting in HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command?
  • tedl30tedl30 Member Posts: 59
    I never tried in above path
    Did you try by setting in HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command?

    Hy I Set

    2013

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""



    2013 R2

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open]

    [HKEY_CURRENT_USER\Software\Classes\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""




    But debuger in 2013 still not working
  • tedl30tedl30 Member Posts: 59
    Thats the right Regedit for use NAV 2013 and NAV 2013 R2

    NAV 2013

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell]
    @=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open]
    @=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Microsoft.Dynamics.Nav.Client.exe]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe"
    "Path"="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\"

    [HKEY_CLASSES_ROOT\Interface\{14519985-4959-4F7C-AC30-CBBCD9DFBC08}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.0"

    [HKEY_CLASSES_ROOT\Interface\{E3041209-EDEA-36B5-ADE4-51E7751BE082}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.0"

    [HKEY_CLASSES_ROOT\Wow6432Node\Interface\{14519985-4959-4F7C-AC30-CBBCD9DFBC08}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.0"

    [HKEY_CLASSES_ROOT\Wow6432Node\Interface\{E3041209-EDEA-36B5-ADE4-51E7751BE082}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.0"

    [HKEY_CLASSES_ROOT\TypeLib\{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}\7.1\0\win32]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\70\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.WinForms.tlb"


    NAV 2013 R2
    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\DYNAMICSNAV]
    @="Dynamics NAV Protocol"
    "URL Protocol"=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\DefaultIcon]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe,0"

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell]
    @=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open]
    @=""

    [HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Microsoft.Dynamics.Nav.Client.exe]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe"
    "Path"="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\"

    [HKEY_CLASSES_ROOT\Interface\{14519985-4959-4F7C-AC30-CBBCD9DFBC08}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.1"

    [HKEY_CLASSES_ROOT\Interface\{E3041209-EDEA-36B5-ADE4-51E7751BE082}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.1"

    [HKEY_CLASSES_ROOT\Wow6432Node\Interface\{14519985-4959-4F7C-AC30-CBBCD9DFBC08}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.1"

    [HKEY_CLASSES_ROOT\Wow6432Node\Interface\{E3041209-EDEA-36B5-ADE4-51E7751BE082}\TypeLib]
    @="{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}"
    "Version"="7.1"

    [HKEY_CLASSES_ROOT\TypeLib\{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}\7.1\0\win32]
    @="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.WinForms.tlb"
  • thegunzothegunzo Member Posts: 274
    After you change the registry to NAV 2013, can you try to close all clients and start the debugger from DEV ?
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • tedl30tedl30 Member Posts: 59
    thegunzo wrote:
    After you change the registry to NAV 2013, can you try to close all clients and start the debugger from DEV ?

    Before I run NAV 2013 run registry for NAV 2013, then run registry 2013 R2 and run 2013 R2 NAV
  • rdebathrdebath Member Posts: 383
    The check for a running instance of Nav has been broken in V7.1; basically the 7.0 client tries to run the 7.1 DLL (classic DLL HELL) and falls over because it's incompatible.

    It works if you delete the "Microsoft.Dynamics.Nav.Client.WinForms" TLB and DLL files from the 7.1 install.

    BUT; you lose the ability to open an object in a running version of the client.

    NB: It certainly looks like 7.1 was released because the marketing department made an impossible promise.
  • Johannes_NielsenJohannes_Nielsen Member Posts: 206
    We will raise the issue with MS. Others should too.
    Best regards / Venlig hilsen
    Johannes Sebastian
    MB7-840,MB7-841
  • geordiegeordie Member Posts: 655
    We will raise the issue with MS. Others should too.

    Microsoft seems already working on: see this post :wink:
Sign In or Register to comment.