toco wiy

toco wiy

  • NA
  • 27
  • 3.4k

Use Microsoft.Office.Interop on server without MS Office installation

Dec 26 2021 10:06 PM

Hi,
I wanted to know that is it necessary to install Microsoft Office on server in order to use Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Word ?

In short, what are the dependencies of Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Word.

I have searched on web a lot and have some mixed responses but none of the methods given helped me.

I have noticed that RDLC report inside report Viewer can be saved to Excel,Word,PDFs, etc without MS Office installation.
So using same logic,is there a way a way to generate Excel and word file using Microsoft.Office.Interop without installing Microsoft Office on server just by registering some dlls ?

I have been stuck on this for 2 months.

Any help would be great.

Thank you in advance !
 


Answers (2)