Hemant Upadhyay
Hemant Upadhyay

Reputation: 29

Microsoft.Office.Interop

I am using Microsoft.Office.Interop.Word.dll to create docx file. It works on my local machine, but can you tell me how to use it on server without installing MS-Office or any third party packages? Please suggest to me some third party tool.

Upvotes: 1

Views: 702

Answers (2)

Jan Novák
Jan Novák

Reputation: 594

Its much better to use xml access to word documents, especilly on servers. When using iterop services, it creates mess on server - need to install office, then the COM objects are not disposing themselves...

check this: Open XML SDK, use DocumentFormat.OpenXml.dll

Upvotes: 1

el ninho
el ninho

Reputation: 4233

Unfortunately, You have to have MS Office on machine that should run application. Other solution for example via XML:

Link

Upvotes: 3

Related Questions