Terminate Dymamics-Nav Execution

FPocoFPoco Member Posts: 35
Good Afternoon

Is there a way to terminate dynamics-NAV execution ? escape from codeunit 1 – Aplication Management ?

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    Do you mean ending the session of a client?
    You can delete a session in File, Database, Information, tab Sessions, drill down on current sessions and delete the session you want to delete.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • nunomaianunomaia Member Posts: 1,153
    Well, there is a non standard way to force termination of NAS. When you are running in NAS you can’t display confirm dialogs. When they are displayed NAs will terminated. You could use that way to terminate current NAS session. You could even use a SQL script to terminate session or something like that.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • kinekine Member Posts: 12,562
    Or you can just kill the nas.exe (or nassql.exe) on the server through Task Manager... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • JoeriJoeri Member Posts: 75
    You can stop the NAS service through services.msc, just stop the service and the NAS stops.
    You can kill a session, the way Tino says, but this only works for the newer NAV versions, older versions don't have this option. If you have an older version you can kill the SQL session from the Enterprise manager (if you use the SQL option).
  • nunomaianunomaia Member Posts: 1,153
    kine wrote:
    Or you can just kill the nas.exe (or nassql.exe) on the server through Task Manager... ;-)
    I related this question to terminate execution inside Navision not using Enterprise Manager. I know that I should think simple :mrgreen:
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • krikikriki Member, Moderator Posts: 9,110
    nunomaia wrote:
    kine wrote:
    Or you can just kill the nas.exe (or nassql.exe) on the server through Task Manager... ;-)
    I related this question to terminate execution inside Navision not using Enterprise Manager. I know that I should think simple :mrgreen:
    You can also use pskill.exe (http://technet.microsoft.com/en-us/sysinternals/bb896683.aspx) and it works fine.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.