It looks like you're new here. Sign in or register to get started.
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);
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);
Comments
I have the same problem. The URL now startes the new version.
I did some changes to Codeunit 9500. Can you try this ?
Codeunit attached
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
http://www.dynamics.is/?attachment_id=1548
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
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