I wish to Read a word file without using Interop.word dll...Do not want to install word in IIS..Actualy I made a keyword search by converting word file into txt file and reading from it..I tried using Open xml SDK but it doesn't read old doc files correctly..Also found spire.doc which is payment type..Provide a complete code with solution at the earliest...Code as follows:

Well, it is up to you to try products to see which one correspond to your needs (performance, ease of use, handling of various formats and variations, exactitude of the result, concurrency, support, price...).

The only thing I know is that you usually don't want to use Office Interrop on a server... Lot of site explain why.

4 solutions

Solution 1

I perfectly understand if you don't want to mess with Microsoft Office installation and Office interop, but first of all, think why messing with Microsoft Office documents at all — proprietary product is proprietary. These days, there is a number of other option.