COM Exception 80040154 Lors de la création d'une Application Excel

Je suis en train de lancer mon application sur un serveur qui n'est pas et ne sera pas installé Office sur elle.

using EXCEL = Microsoft.Office.Interop.Excel;
...
EXCEL.Application app = new EXCEL.Application();//Exception thrown here

Le code fonctionne très bien sur mon propre système, mais sur le serveur, il donne l'exception suivante:

Unhandled Exception: System.Runtime.InteropServices.COMException: 
Retrieving the COM class factory for component with CLSID {...} failed
due to the following error: 80040154 Class not registered
(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

les deux systèmes sont en 32bits, et j'ai copié le excel Interop dll à côté de l'application exe. J'ai également installé O2010PIA.

tout le plomb?

OriginalL'auteur Bizhan | 2012-12-01