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
 
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
 
Back
Top