![]() |
Strange exception when automating excel
I have programmend an application in C# that uses excel automation to create
an excelsheet. This worked fine, but now, on one machine, a message pop's up saying: "The application or DLL C:\WINDOWS\system32\msi.dll is not a valid windows image.". After that a COMException is thrown with hresult = 800a03ec. The exception is thrown, when Workbooks.Add is called. Reparing the excel-installation doesn't seem to help. |
Strange exception when automating excel
Hi Christof,
"Christof Nordiek" wrote in message ... I have programmend an application in C# that uses excel automation to create an excelsheet. This worked fine, but now, on one machine, a message pop's up saying: "The application or DLL C:\WINDOWS\system32\msi.dll is not a valid windows image.". After that a COMException is thrown with hresult = 800a03ec. The exception is thrown, when Workbooks.Add is called. Did you check if msi.dll is corrupted or missing? Use for example depends.exe to open msi.dll and see if it can be opened. Are you using 32-bit or 64-bit windows? -- SvenC |
All times are GMT +1. The time now is 12:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com