automate MailMerge facility RRS feed

  • Question

  • User-1472734613 posted

    Hi All,

    I am facing a problem out here. I want to automate MailMerger faciltiy using .Net coding. I did that but

    When the web site is running in the production environment, the word processing C# code fails to run because there is no Microsoft Word 12.0 Object Library in the production environment servers.

    What should i do in that case.

    What are the alternatives available to automate MailMerge facility.

    Please help me. Its very urgent. One more thing... I can't use third party tools.

    Thanx in advance.

    Monday, July 20, 2009 9:38 AM

All replies

  • User-963541686 posted

    Two things u have to do for this issue

    1.  Add a reference in ur project

    Right Click ur project and select Add reference

    On the COM tab, locate Microsoft Word Object Library and then click Select.

    In Visual Studio 2005, locate Microsoft Word 11.0 Object Library on the COM tab.

    2. If u don't latest MS office Library, then u have to download Primary interops Assemblies

    click this link

    Monday, July 20, 2009 3:24 PM