LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.office.developer.automation
external usenet poster
 
Posts: 2
Default 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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
exception in excel while writting to it Gaurav[_7_] Excel Programming 3 January 9th 08 11:36 AM
Strange exception when calling Worksheet.GetOLEObjects using Invokemember!! Sarang Bapat Excel Programming 0 March 23rd 07 09:01 AM
Exception with EXCEL 2007 API Sharad Birajdar Excel Worksheet Functions 0 January 31st 07 11:55 AM
Exception report in excel jj Excel Worksheet Functions 5 March 2nd 05 05:05 PM
Excel exception problem Chuck Ainslie Excel Programming 0 June 4th 04 09:01 PM


All times are GMT +1. The time now is 09:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"