Job Queue/NAS questions

Djou2424
Member Posts: 76
I'm pretty sure the answer is no but I will ask anyway.
We have setup the job queue to run with 2 instances of NAS and loop through multiple companies to run a task.
This is done through a windows scheduler who launches NAS overnight to launch the job queue that calls our function in each company with the 2nd NAS.
The client would like now to be able to also call the same process on demand by pressing a button. I added the code at the bottom of the job queue entry card and the code behind it loops through all the job queue entry and calls the job queue start codeunit. This works fine when they are pressing the button from the Navision client where NAS is installed and configured (same computer that runs the process every night through the windows scheduler)
However, if someone tries to push that button from another computer, they get an error message:
"This message is for C/AL programmers:
The call to member send failed. msxml3.dll returned the following message:
A connection with the server could not be established"
I guess this is because NAS is not installed and configured on the computer from where they are pushing the button.
Am I correct?
Is there a way around it without having to install NAS on every user' computers?
We have setup the job queue to run with 2 instances of NAS and loop through multiple companies to run a task.
This is done through a windows scheduler who launches NAS overnight to launch the job queue that calls our function in each company with the 2nd NAS.
The client would like now to be able to also call the same process on demand by pressing a button. I added the code at the bottom of the job queue entry card and the code behind it loops through all the job queue entry and calls the job queue start codeunit. This works fine when they are pressing the button from the Navision client where NAS is installed and configured (same computer that runs the process every night through the windows scheduler)
However, if someone tries to push that button from another computer, they get an error message:
"This message is for C/AL programmers:
The call to member send failed. msxml3.dll returned the following message:
A connection with the server could not be established"
I guess this is because NAS is not installed and configured on the computer from where they are pushing the button.
Am I correct?
Is there a way around it without having to install NAS on every user' computers?
0
Comments
-
You need to install MS XMLDom from microsoft site. I think if you install the latest version it will have the older if not, then you need to install version 3.0
-
And how can I install that/where do I find it?
I looked at one of the computer that is getting the error message listed above, in the system32 folder, and there are a bunch of msxml*.dll files there already.
Just installing that MS XMLDom will allow them to use the job queue from their computer calling the NAS on the server?0 -
I usually just add a button called Run manually and add the following code
if type = type::report then Report.runmodal("Object ID to Run",false,true,rec) else CODEUNIT.RUN("Object ID to Run",rec);
0 -
But this won't work through all the companies setup in the job queue, only the company I'm logged in.
I want to know if it's doable to run it for all companies from any computer, not only the server where NAS is installed0 -
Do you have a mod to do it for all companies? NAS only runs for one company.0
-
I'm using the job queue and 2 NAS license.
This is working fine. My only question is, is it possible to run that from another computer by pressing a button, instead of running it on the server where NAS is installed.
When doing it right now, I get the error listed in my first message.0 -
0
-
but if there is already a msxml6.dll in the system32 folder, I guess this is already installed, no?0
-
0
-
It didn't make any difference.
Any other ideas?0 -
Can I see your 2 nas solution? did you use the solution provided on mibuso?
If yes, In order for the client to run it. They need to have NAS folder locally and you have to change the code to where NAS is installed.0 -
Do I have to install install the NAS folder on the client's computer locally? Or do I have to run it as a service as well?0
-
Can't you just skip the calling of jobqueue codeunit and directly call the code which actually does the required task from the client PC, with a new object or saveas the current object and modify it.Regards,
Manish0 -
No, the job queue lets you do stuff in multiple companies using 2 nas license instead of calling the changecompany function, which is a lot easier when posting processes are involved.0
-
Djou2424 wrote:Do I have to install install the NAS folder on the client's computer locally?0
-
Installing NAS locally didn't work.
Any other idea?!?0 -
Get your solution center to take a look at it.0
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