We got an issue when accessing excel file using vbscript executed by AdTempus application Job. This issue occurs only in windows Server 2008 operating system, while in Windows Serwer 2003 the same vbs and the same scenario works well. We have tried manipulating on "User's Interaction" modes in AdTempus->Job->Settings dialog window. When there was selected "User Session" and the user(same as job "User Account" ) was logged-in - the script has been executed without errors but when user was logged-out and when was "Hidden" mode the same job scheduled for execution returned following error below:
------------------------------------------------------
Script execution failed: Microsoft Office Excel cannot access the file 'C:\test\test.xls'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook. (1004) (Line 22, Column 0)
------------------------------------------------------
In all other cases of "User's Interaction" mode under Windows Serwer 2008 appering the error(ss1.jpg)At Windows Serwer 2003 the same script was executed in "Hidden" and "User's Session, Hidden" modes without any issues - independantly was an user logged-in or logged-out. In both operating systems versions and configurations of MS Excel 2007 were the same.
Please advice how to fix this issue.
Kind regards,
as