Excel COM throws cannot access the file error with Office 2007 Excel in Windows 2008 via Siebel thin client

(Doc ID 1461261.1)

Last updated on AUGUST 29, 2016

Applies to:

Siebel Tools - Version 8.1.1.7 SIA [21238] and later
Information in this document applies to any platform.
Checked for Relevance on 29-AUG-2016

Symptoms

On :  8.1.1.7 SIA [21238] version, Siebel VB / eScript / COM

When trying to use eScrpt to open Office 2007 Excel in Windows 2008 via Siebel thin client,  the below error occurs.

ERROR
-----------------------
Unhandled Exception:Microsoft Office Excel cannot access the file "D:\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.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Set up a environment with  Windows 2008,  Office 2007
2. Trigger the below scripts to open Excel:
     var ExcelApp = COMCreateObject("Excel.Application");
     ExcelApp.Workbooks.Open("D:\\test.xls");
3.  The above error occurs.  The behavior doesn't occur on thick client.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot load data from Excel.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms