NAV 2013 Debugger not working

tedl30tedl30 Member Posts: 59
edited 2013-10-10 in NAV Three Tier
Is Someone had a simillar problem?

After I install 2013 R2, debugger in NAV 2013 not working.

have a nice day

Comments

  • thegunzothegunzo Member Posts: 274
    Hi

    I have the same problem. The URL now startes the new version.

    I did some changes to Codeunit 9500. Can you try this ?
    UrlString := STRSUBSTNO('DynamicsNAV://%1:%2/%3/%4/debug',ServerComputerName,ServerPort,ServerInstance,httpUtility.UrlPathEncode(COMPANYNAME));
    //HYPERLINK(UrlString);
    
    Assembly := Assembly.GetCallingAssembly;
    ClientFileName := Path.GetDirectoryName(Assembly.Location) + '\Microsoft.Dynamics.Nav.Client.exe';
    SettingsFileName := Path.GetTempPath + FORMAT(CREATEGUID) + '.config';
    Configuration := Config.Configuration;
    Configuration.SaveAs(SettingsFileName,ConfigurationSaveMode.Full,TRUE);
    StartupArgument := STRSUBSTNO('-settings:%1 -debug -shownavigationpage:0 DynamicsNAV://///debug',SettingsFileName);
    Process := Process.Start(ClientFileName,StartupArgument);
    

    Codeunit attached
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • thegunzothegunzo Member Posts: 274
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • thegunzothegunzo Member Posts: 274
    This version should also be tested
    UrlString := STRSUBSTNO('DynamicsNAV://%1:%2/%3/%4/debug',ServerComputerName,ServerPort,ServerInstance,httpUtility.UrlPathEncode(COMPANYNAME));
    //HYPERLINK(UrlString);
    
    Assembly := Assembly.GetCallingAssembly;
    ClientFileName := Path.GetDirectoryName(Assembly.Location) + '\Microsoft.Dynamics.Nav.Client.exe';
    StartupArgument := STRSUBSTNO('-protocolhandler "%1"',UrlString);
    Process := Process.Start(ClientFileName,StartupArgument);
    

    On my machine the debugger will not start even if I change HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command if the client is already running.
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
Sign In or Register to comment.