I have a VBScript which will retrieve sheet name from excel file.
When I double click the file, script is running fine and it shows the sheet name. But when I run it from Data Services, I am getting the below error.
5608 5488 PRINTFN 30/05/2012 2:04:44 PM \\servername\test.vbs(3, 1) Microsoft Excel: Microsoft Excel cannot access the file '\\servername\test.XLS'. There are several
5608 5488 PRINTFN 30/05/2016 2:04:44 PM possible reasons: The file name or path does not exist. The file is being used by another program. The workbook you
5608 5488 PRINTFN 30/05/2016 2:04:44 PM are trying to save has the same name as a currently open workbook.
Script used to execute vbs file from DS:
print(exec('cscript', ' \\\servername\\test.vbs',8));
I have placed both vbs file and excel file in job server. Excel is installed in job server. Full access is provided to the folder for user which DS job server uses to run the job.
And is there anyway to check who created or modified the job in DS?
Help appreciated.