Options

Issue in running automation from Citrix.

Aravindh_NavisionAravindh_Navision Member Posts: 258
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 when working through CITRIX, I am getting below error.

wdoafzmygpte.png

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

Thanks in Advance, Aarvi.

Answers

  • Options
    KTA8KTA8 Member Posts: 389
    are you using the same user in both escenarios?
  • Options
    Aravindh_NavisionAravindh_Navision Member Posts: 258
    Yes KTA8. using same user.
  • Options
    vivek4121vivek4121 Member Posts: 165
    seems to be a firewall issue, can you check the firewall settings in Citrix
Sign In or Register to comment.