run a mail merge doc from .aspx page

Posted on 2008-11-17
Last Modified: 2013-12-17
I have a ms word 2003 document that is a mail merge doc.  It populates the fields from a sql server and works fine.  I have a small .net web application that calls a stored proc on the sql server to populate the table needed for the merge.

when I load the merge document into a web page all I get is the first page of the merge.  is there a way to run a mail merge document from the web page?  

this is an intranet application, so it is strictly an internal app.  currently the users run the web app to populate the tables and then manually open and run the merge documents.  I just wanted to add another piece of automation if possible.
Question by:dhenderson12
    1 Comment
    LVL 14

    Accepted Solution

    Here is a tutorial that might help you with your Word Mail Merges in ASP.NET

    Word document automation through .NET

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now