Frage

We are migrating some legacy applications from Win 2003 Server + IIS6 to a new server Win 2008 Server + IIS7.

We are facing several issues, last of these is that some of our applications are using Office Interop v11 (Office 2003), while on the new server is installed Office 2010 ( + interop v14).

I'm getting this error:

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

I tried to solve it following a lot of forums (this one, for example: http://forums.asp.net/t/1303594.aspx/1). But nothing changes...

Now I'm wondering if this could depend on different version of interop installed. Is there a way to get legacy apps working without recompile them for the new version of interop?

War es hilfreich?

Lösung 2

To solve this problem I simply installed Office 2003 on the new server. (I discovered two versions of Office can coexist without conflict on the same machine...)

Andere Tipps

Try NetOffice. It's a pretty transparent wrapper around Office Interop API. They detect and load available Interop DLLs at runtime, so you don't have to build your solution against them.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top