Friday, August 28, 2009

Convert Word-Documents to PDF on an ASP.NET Server

Convert Word-Documents to PDF on an ASP.NET Server

Introduction

This PDFConverter converts Microsoft Word documents (*.doc) into PDF-files on a Webserver. There is a simple Webform, where you can upload your Word-Document, which will be converted and sent back as a PDF-File.

Prerequisites

  • Microsoft Word 2007
  • 2007 Microsoft Office Add-in: Microsoft Save as PDF or XPS
  • A User, who has the rights to execute Word, must be logged in on the Server
  • The PDFconverter.exe must be running (part of this project)

Serverside PDFConverter.exe (app.config):

<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown objecturi="RemoteConverter"
type="PDFConverter.RemoteConverter, RemoteConverter" mode="Singleton">
</wellknown>
<channels>
<channel port="8989" ref="http">
</channel>
</channels>
</service>
</application>
</system.runtime.remoting></configuration>



View Full Details...............................

No comments:

Post a Comment