Question Microsoft office object

jaseemameer

New member
Joined
Apr 24, 2011
Messages
4
Programming Experience
3-5
creating an object of Microsoft.Office.Interop.Word.Application and initializing gives the error :
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.

It works fine in my pc, but when hosted on server, it gives the error at
New Microsoft.Office.Interop.Word.Application.

the dll referenced is Microsoft.Office.Interop.Word.Application 12 and the server has office 2007
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,548
Location
Norway
Programming Experience
10+

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,501
Location
Sydney, Australia
Programming Experience
10+
What are you actually trying to do? We have a project in my office at the moment where we wanted to be able to generate Office documents from a server application. We didn't want to install Office so we used Open XML.

Introducing the Office (2007) Open XML File Formats
 
Top Bottom