I'm maintaining a web-app which currently references Interop.Excel.dll (v 1.5.0.0).
The Interop.Excel.dll been used to access .xls files under Excel 2003 and then, subsequently, .xlsx/m files under Excel 2010. All worked fine.
The web-app got moved onto another machine (which has Excel 2003 with 'Office 2007 Compatability Pack' installed) and is now unable to open .xlsx/m files (stacktrace of error the occurs shown below).
There's no problem about a human opening .xlsx/m files on that machine other than you see the little Compatability Pack 'converting' dialog for a moment as the file is opened.
Is there some known limitation of combining : Excel 2003; 'Office 2007 Comp Pack'; and .xlsx/m files ?
STACKTRACE
2013-04-23 16:03:00.7192|Error|An error occurred in OpenCloseManager. Details Follow:
Exception Type ---
System.Runtime.InteropServices.COMException
Message ---
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
HelpLink ---
Source ---
Interop.Excel
StackTrace ---
at Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
at TCG.CRRExDBInterface.BO.SpreadSheetHelper.manageExcelOpen(Boolean blnUpdateLinks) in D:\foo\ExcelDBInterface-4.7.1.0\ExcelDBInterface-4.7.1.0\ExcelDBInterface\CRRExDBInterface\App_Code\BusinessObject\SpreadSheetHelper.cs:line 1920
TargetSite ---
Excel.Workbook Open(System.String, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object)|MasterSubPage.parseSecurityInfoFromSpreadsheetAndSave => SpreadSheetHelper..ctor => SpreadSheetHelper.manageExcelOpen