No Office automation

Generally, all kind of business applications have to create documents: invoices, reports, quotations or similar business correspondences. Typically, developers author applications that enable end users to modify text and spreadsheets and to create print-ready documents that can be sent via e-mail (PDF), fax or my traditional mail.

The majority of applications deploy Microsoft® Office to create such documents. But even Microsoft® does not recommend automating their end-user software Microsoft® Office:

Microsoft® does not currently recommend, and does not support, Automation of Microsoft® Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

MSDN, Considerations for server-side Automation of Office.

Potential problems and pitfalls when deploying Microsoft® Office:

  • Interactivity with the Desktop

    Microsoft® Office is an end-user application and such applications need to be made visible in order to work correctly. If an error occurs, an error message might be displayed, which requires user interaction.

  • Scalability

    Microsoft® Office is designed to provide functionality to a single client. It is not recommended to automate Microsoft® Office in server-side applications as it is not scalable.

  • Stability

    "Using Microsoft® Office as a service component on a network server may reduce the stability of that computer, and therefore may reduce the stability of your whole network."

  • Security

    "Microsoft® Office applications were never intended for server-side use. Therefore, Microsoft® Office applications do not take into consideration the security problems that distributed components face."

A much better way to integrate word processing is by using TX Text Control Server for ASP.NET (incl. Windows Forms), built from scratch for such scenarios.

With our partner GrapeCity, we founded the Document Automation Alliance. The idea is to provide developers a one-stop competence center to gain information on how to effectively automate Microsoft® Office documents without attempting to deploy Microsoft® Office.

Read more about this joint venture on our dedicated website:

Or download our trial version and test our shipped ASP.NET samples today:

TX Text Control Trial Versions