web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Job Queue

(0) ShareShare
ReportReport
Posted on by 194

Hello,

In NAV 2009 R2 I have created a test codeunit that creates a PDF file using Bullzip. When I run the code unit the PDF file is created as expected.

Now I want to run this codeunit through a job queue. I add the Job queue entry record as a parameter of the OnRun trigger of the test codeunit and setup the job queue entry. The job stops with the error :

"This message is for C/AL programmers:

Could not create an instance of the OLE control or Automation server identified by
GUID={61CB5BFA-AFE6-4B0F-A4BB-7F3D4999EE52} 3.2:{BEBDC1DF-D793-4F6C-B8FF-E831A1C2595C}:Unknown Automation Server."

I wonder if the reason may be a difference in the versions of the application server and the classic client. How can I check the version of the application server and its build?

*This post is locked for comments

I have the same question (0)
  • Galina Georgieva Profile Picture
    194 on at

    Hello again. I have checked the version of the nassql.exe and the version is the same as the client: 6.0.32012. But the database that I use has been converted from 5.0 SP1 to 6.0 R2.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    This problem occours because if you want to schedule that codeunit (that calls BullZip) you need to install BullZip also at server side (the job scheduler runs on service tier).

  • Verified answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Galina,

    Agree with Stefano, BullZip needed to be installed at server side.

    BullZipPDF: Automation "{61CB5BFA-AFE6-4B0F-A4BB-7F3D4999EE52} 3.2:{BEBDC1DF-D793-4F6C-B8FF-E831A1C2595C}:'Bullzip'.PDFPrinterSettings";

  • Galina Georgieva Profile Picture
    194 on at

    Thank you for the answers.

    Now I have another problem. The Job Queue Log entry is with status success but the file was not created in the specified path. Also the field "End Date/Time" of the Job Queue Log Entry has no value.

    What can be the reason?

  • Verified answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Galina,

    Some suggestions:

    1. Windows Account (WA) which used to start NAV Job Queue Service should have appropriated file permissions (write files).

    2. Login NAV and manually run the function with the WA at server side first, make sure it is successful.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Regarding the path, remember that the file is created at server side, so for example C:\TEST is on the C: drive in the server and not in the client. Using network share is recommended.

    If the folder is on the server, the NAV service account must have permissions to write on that folder.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans