Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

We have an ASP.Net 3.5 application that creates MS Excel Files on the fly for a client to download. We have it working on our development machines, and are ready to deploy to our web server.

 

To use the Interop assemblies, we need to have MS Office installed on the server.

 

Is it legal to install one copy of Office on the server and let our website software access it?

 

Or is there a stripped down version that we can buy? (dlls only).

 

We do not want any third party applications, or to use the method where you simply create a stream from a datagrid.

Go Beavs!!!
Posted

I'd say you aren't the only person who has run in to this mine field....

 

You could say that your server has a licenced copy of Excel and that only a single user (whoever your app runs under is accessing it) but it is a tricky one as you will be hitting it concurrently. In all honesty if Microsoft can't tell you then look at the EULA for Excel/office and see what it says - I'd recommend a strong cup of coffee to get you through reading that!!!

Posted

We needed to do something similar at work and it did require Excel to be installed and there's not a stripped down version that I am aware of.

 

You can look also into Gembox Spreadsheet.

 

It doesn't require Excel to be installed and they even offer a free version, but I am not sure it meets your requirements. It's been useful for our company though.

 

The free version is the same as the pro version with the following exceptions.

 

- Maximum number of rows per sheet is 150.

- Maximum number of sheets per workbook is 5.

 

C

  • 4 weeks later...
  • Leaders
Posted
My understanding is that OpenOffice supports COM interop and it is, of course, free. It may not be the solution that you are looking for, but it is worth investigating.
[sIGPIC]e[/sIGPIC]
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...