Word docoument automation on server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vini Gupta
    New Member
    • Dec 2010
    • 1

    #1

    Word docoument automation on server

    Hi,
    I created a web application in which I am generating a ms-word document using Microsoft.Offic e.Interop.Word dll. The application is running fine in the visual studio but when I tried to run on IIS 5.0 through virtual directory then its giving the following error -

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

    In my application I have taken reference of Microsoft Word 12.0 Object Library, but its coming as Microsoft.Offic e.Interop.Word dll, this interop dll is just a wrapper of the actual word COM dll. But I have to register the actual word COM dll. so my problem is to find -
    1) The path of the original word dll(COM)
    2) How to register this dll, either using regsvr32 or to register on IIS.

    OR there will be any other solution. I have gone through many forums but did'nt get any solution.
    If you have any idea/suggestion on COM Word components please revert me back.

    Many Thanks,
Working...