Parameter String in Job Queue

kiyac
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!!!
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!!!
0
Comments
-
simply put any value in parameter ,i think it will workAshish Gupta
Navision Technical Consultant0 -
What parameter will you suggest? I have tried by fail as well.0
-
-
Do you make it right, it works too!0
-
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?0 -
All I can say is:DenSter wrote:0
-
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.0 -
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 20090
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions