Excel for Microsoft.Office.Interop.Excel

We want to use Microsoft.Office.Interop.Excel in our web application. Everything works fine on our local machines, but on our test machine we are having problems. It has neither Visual Studio nor Office.
We use the .NET framework 2.0, and the server runs on Windows Server 2003 with IIS6.

Is there a dll that needs to be installed on the machine or added to the web application basket?

+5
source share
4 answers

In order for this to work, you will need the MS Office and Office Interop packages.

+10
source

, Office , . , , Office.Interop

+5

, URL- :

. , , .

+3

OpenXML?

I am currently working on creating Office 2007 / Open Office spreadsheet files.

  • Table reference
  • Include column headers - optional
  • Data Type Definition - Optional
  • Stream to the user or save to the file system or save to the file system, and then immediately download.
  • Outputs an Excel file with cells that show up as numbers / rows.
+2
source

All Articles