I created a Visual Basic script to create a Telnet session, execute commands, and write to a log file on the Windows server that hosts our Data Services platform. When I execute this script manually it runs and populates the log file, but when I execute the same script through Data Services, the Data Services log says it ran successfully but the log file doesn't contain data.
I'm running this in a script component in Data Services:
print(exec('cmd.exe','C:\DS_Files\Veeder\Scripts\VeederScript_HumanReadable.vbs "[$StoreNumber]"',8));
I've also created a Batch file to execute the VB script, which also runs successfully when executed manually, but also doesn't update my log file when executed by Data Services. I also tried this by using 'cscript' instead of 'cmd.exe' with the same result. Is this a permissions issue?
Request clarification before answering.
Correct. Your service account needs access to folders and files read and modified by the external program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the Task Manager, Processes tab. The Username for the al_jobserver and al_engine executables..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. The script runs with the DS credentials, i.e. the username DS was installed with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.