Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Issue in running automation from Citrix.

(0) ShareShare
ReportReport
Posted on by 1,385

Hi Friends,

[Version: NAV 2009]

I am using automation feature in NAV to trigger a batch file in server local folder.

Below is the code am using and it works well when I try to run an .exe file from NAV in server through remote desktop.

IF ISCLEAR(WSHShell) THEN BEGIN
  CREATE(WSHShell);
  WinStyle := 0;
  WaitForCommand := FALSE;
  WSHShell.CurrentDirectory := '"C:\Mexico\"';
  WSHShell.Run('"C:\Mexico\TriggerUAT.exe"',WinStyle);
  CLEAR(WSHShell);
END;


Variables

WSHShell - (Automation - 'Windows Script Host Object Model'.WshShell	
WinStyle - (Integer)		
WaitForCommand - (Boolean)


But when I try to run the .exe file from NAV through CITRIX, I am getting below error.

Issuenav.PNG

Its quite urgent. Can anyone help me out to overcome this issue?

Thanks in Advance, Aarvi.

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Issue in running automation from Citrix.

    You need to install the application TriggerUAT.exe in your Citrix Application Server or on your Terminal Servers.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Issue in running automation from Citrix.

    Is the automation installed in the Citrix application server?

    Is the folder I see here (C:\Mexico) created also in C: drive in the Citrix application server?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans