I am writing a program in C# using the Excel 12 Interop and my program throws the HRESULT 0x800A03EC exception when I run it on a windows xp machine with Microsoft Office 2003 installed.
My development machine has Windows 7 64bit and Microsoft Office 2007, the program works fine.
My SaveAs code is as such:
wbk.SaveAs(path, Excel.XlFileFormat.xlExcel8,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Excel.XlSaveAsAccessMode.xlExclusive,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing);
Is there any workarounds that I can utilize so I don't have to install Office 2007 on the machine running Windows XP?
UPDATE
I have installed the interop assemblies for Office 2007 and Office 2010 on the Windows XP machine, which is also 64bit and I still receive the same error. Could it be a permissions issue with the assembly?