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)

'Windows Script Host Object Model'.WshShell Automation error in Job Queue

(0) ShareShare
ReportReport
Posted on by 2,641

Hello,

In NAV 2013 R2 I am running process only report having below code via job queue.


WindowStill := 1;
BooleanReturn := TRUE;
IF ISCLEAR(Shellik) THEN
  CREATE(Shellik,TRUE,TRUE);
x := Shellik.Run(TempPath + 'CopyFiles.bat', WindowStill, BooleanReturn);

But it will give below error.

Microsoft Dynamics NAV
---------------------------

Microsoft Dynamics NAV Server attempted to issue a client callback to create an Automation object: 72c24dd5-d70a-438b-8a42-98424b88afb8 (Report 50052 Export PO & IW to GPO). Client callbacks are not supported on Microsoft Dynamics NAV Server.
---------------------------
OK
---------------------------

How we can use Wshshell via job queue?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at

    I guess you have same issue in ANV2013 also?

    How did you solve?

    www.mibuso.com/.../viewtopic.php

  • Jatin Patel Profile Picture
    2,641 on at

    Yes but I didn't get any solution for it.

  • Suggested answer
    keoma Profile Picture
    32,729 on at
  • Rashed Profile Picture
    3,765 on at

    Hello.  You need to use Dotnet Datatype instead of automation.

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