Results 1 to 5 of 5

Thread: Microsoft office object

  1. #1
    jaseemameer is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Apr 2011
    Posts
    4
    Reputation
    0

    Microsoft office object

    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

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,209
    Reputation
    2369
    Considerations for server-side Automation of Office
    Microsoft does not recommend or support server-side Automation of Office.

  3. #3
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    11,364
    Reputation
    1544
    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

  4. #4
    jaseemameer is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Apr 2011
    Posts
    4
    Reputation
    0
    My objective is to convert doc and docx files to tiff, for sending as fax.

  5. #5
    ss7thirty is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 2.0
    Join Date
    Jun 2005
    Location
    New Jersey, US
    Posts
    455
    Reputation
    174
    Can't you just do that through the Microsoft Office Document Imaging print queue or whatever its called, print any file to Tiff?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking