Job Queue Query in NAV 2013

chandrurecchandrurec Member Posts: 560
edited 2013-06-07 in NAV Three Tier
Hi All,

I am configured NAV 2013 using Job Queue for running a xml port. After this when I click start, job scheduler is not running .

If anyone know the cause for this job scheduler not working, Kindly let me know.

Thanks in advance.

Regards,
chandru.

Comments

  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    1. How did you specify the job queue to run an xmlport?
    2. What does the event log say?
    3. How did it behave when you tried to debug the process?
    Bardur Knudsen
    Microsoft - Dynamics NAV
  • chandrurecchandrurec Member Posts: 560
    Hi BardurKnudsen,

    I am trying to run the xmlport using codeunit instsream . when I try to manually run the codeunit, the file is getting imported. but when I try to run using job queue, I first try to run 450 Job Queue Dispatcher but still not getting run.

    Thanks & Regards,
    chandru.
  • chandrurecchandrurec Member Posts: 560
    Hi Mohana,

    I have configured NAS posting.php?mode=smilies&f=32also with the startup cedeunit as 450 and then started NAS but still the job queue is not running.

    Thanks & Regards,
    chandru.
  • chandrurecchandrurec Member Posts: 560
    Hi,

    In the event viewer , I am getting the error as follows.

    Server instance: DynamicsNAV70
    Session type: UnknownClient
    Session ID: 0
    Microsoft Dynamics NAV Application Server is scheduled to start with the following configuration:

    Company: CRONUS Australia Pty. Ltd., Codeunit: 450, Method: OnRun, Arguments: JOBQUEUE

    Regards,
    chandru.
  • chandrurecchandrurec Member Posts: 560
    Hi BardurKnudsen ,

    This is the error I am getting in eventviewer.

    The service could not add service principal names because the service account could not be found in Active Directory.
    Account: NT AUTHORITY\NETWORK SERVICE
    Service principal names:
    DynamicsNAV/chandru-PC:7045
    DynamicsNAV/chandru-PC:7045

    Thanks & Regards,
    chandru.
  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    Ahh.
    Note that the NAS runs under the same credentials as the service tier; in your case as NT AUTHORITY\NETWORK SERVICE. That also means that you need to set NT AUTHORITY\NETWORK SERVICE up as a user in your system in order to allow it to run business logic.
    Bardur Knudsen
    Microsoft - Dynamics NAV
  • chandrurecchandrurec Member Posts: 560
    Hi BardurKnudsen ,

    I already setup users in windows users and then given the super permission to that. But still I cannot able to run the job queue successfully.

    Thanks & Regards,
    chandru.
  • chandrurecchandrurec Member Posts: 560
    Hi BardurKnudsen,

    As per your instructions, I checked it its working fine. Thank you.

    And one more problem now is the date is automatically getting changed to 2 days later and its getting run only for only one time. Actually I have given the start time end time and no of minutes between is 1. So within the start time and end time it should execute 1 min once and then only the date should be changed but it is not happening now.

    If you have any idea how to achieve it, Kindly let me know.

    Thanks & Regards,
    chandru.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    try
    1. reset the status of JQ
    2. restart the nav service..
  • chandrurecchandrurec Member Posts: 560
    Hi Mohana,

    It works fine now.

    Thank you.

    Regards,
    chandru.
Sign In or Register to comment.