Search code examples
.netiisiis-7office-interopoffice-2010

Using MS Office Interop v11 with Office 2010


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?


Solution

  • 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...)