Options

Parameter String in Job Queue

kiyackiyac Member Posts: 118
Envirnoment :
NAV 2009 W1 SP1
SQL DB

I have installed NAS service and accounts are properly granted.
Job Queue can be run automatically, however, I got error in Job Queue Log Enties
" The codeunit was called with a Job Queue Entry record. It has no parameters."
What information missing and cause this error?

Here is NAS script
"C:\Program Files\Microsoft Dynamics NAV\60\Application Server\nassql" appservername=ABC, servername=ABC, database=TestDB, company=Company1, nettype=TCP, objectcache=8000, startupparameter=JOBQUEUE

Besides, I want to clarify
1. What should I fill for these fields? If I just want to run the job once per day, at 02:00:00am?
"max no of attempts to run", "Earliest start date/time", "Start time", "End time", "No of minutes between runs"

2. What I need to fill in general tab "parameter string"?

3. I need to change any coding in CU 1?

4. As I have 2 companies under same db, need to run the same job,
4.1 another NAS service will be set
"C:\Program Files\Microsoft Dynamics NAV\60\Application Server\nassql" appservername=ABC, servername=ABC, database=TestDB, company=Company2, nettype=TCP, objectcache=8000, startupparameter=JOBQUEUE
4.2 Another job queue entries will be set in company2
May I know the startupparmenter (cmd prompt) and parameter string at job queue entries can be the same?


Thanks!!!

Comments

  • Options
    Ashish_GuptaAshish_Gupta Member Posts: 56
    simply put any value in parameter ,i think it will work
    Ashish Gupta
    Navision Technical Consultant
  • Options
    kiyackiyac Member Posts: 118
    What parameter will you suggest? I have tried by fail as well.
  • Options
    garakgarak Member Posts: 3,263
    DenSter wrote:

    :D :-D and it works with other keywords .... nice .... :thumbsup:
    Do you make it right, it works too!
  • Options
    kiyackiyac Member Posts: 118
    Now, missing parameter string solved, but another error appeared,

    "You cannot use C/AL variables of type DIALOG when running the Application Server for Microsoft Dynamics NAV Classic."

    Solution from other link
    viewtopic.php?f=23&t=39198&hilit=+You+cannot+use+C%2FAL+variables+of+type+DIALOG+when+running+the+Application+Server+for+Microsoft+Dynamics+NAV+Classic.+

    "IF GUIALLOWED THEN" on the dialog sections of code... leave the original dialog functionality, but drop it for the NAS.

    1. May I know where to insert this code?

    2. Besides, if 2 companies under same db need to execute the same code unit by different job queue set in 2 companies separately, then what is the value of singleinstance in CU property?

    3. And how many NAS license I need to buy?
  • Options
    DenSterDenSter Member Posts: 8,304
    All I can say is:
    DenSter wrote:
    I had the same issue and found the answer in there.
  • Options
    minicanadaminicanada Member Posts: 28
    Hi I have 2 NAS installed and NAV license have 2 sessions for NAS. I installed the license in SQL serever as well as Application server. However when I am trying to run 2 NAS simultaneously getting the error message :
    Event Type: Warning
    Event Source: GGHAPP01-SQL
    Event Category: None
    Event ID: 20010
    Date: 8/25/2010
    Time: 4:18:26 PM
    User: N/A
    Computer: GGHAPP01
    Description:
    Your program license does not permit more users to work simultaneously.

    Wait until another user has stopped using the program.

    Contact your system administrator if you want to allow more simultaneous users on your system.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


    I am not sure if there is license problem or something else? I can run 2 NAS at a time with no problem but not simultaneously.

    Please advice.
  • Options
    danlindstromdanlindstrom Member Posts: 130
    minicanada wrote:
    Description:
    Your program license does not permit more users to work simultaneously.


    I am not sure if there is license problem or something else? I can run 2 NAS at a time with no problem but not simultaneously.

    Do you have enough of sessions (granule 1200) each running instance of NAS requiers 1 application server instance (1415/1420) AND 1 session (1200)
    Regards
    Dan Lindström
    NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
    MBSP Developer for Microsoft Dynamics NAV 2009
Sign In or Register to comment.