Excel Reports from Web Server

APD Toronto
APD Toronto used Ask the Experts™
on
Hello Experts,

I need to generate a few reports that are in Excel from a web server using ASP Classic.  I am able to do this if I have Excel installed, but 5 years ago I read that it is ilegal to install Excel on a server.  Where can I check this?

Further, If i can legally use Excel, does any one know of any down sides of this with regards to server perormance.  

If this is not legal, does any one have any alternate recomendations?  I was thinking of exporting a .csv, then having the user run a custom .vbs on their PC, but i want to avoid this multi-step approach.

FYI - All reports are for a small office,.

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Excel on a server is fine, so long as your not doing some sort of virtual environment that allows lots of people to use a single license of Excel.  Using classic ASP code to call on features of Excel should not violate any user license agreements.

However, Excel can read html tables, as if they were an excel file.  there are classic ASP commands to set the header so that the browser thinks its getting an excel file.  Then just send the page using standard HTML, all encased in tables.  I.e. <HTML><BODY><TABLE>...

http://stackoverflow.com/questions/440892/how-to-output-an-excel-xls-file-from-classic-asp

But exclude things like menus and other graphics your pages might normally see.
Leon FesterSenior Solutions Architect

Commented:
I need to generate a few reports that are in Excel from a web server using ASP Classic
There is a very simple solution...just create your output as .csv
.csv files are basic text files which Excel is able to open directly.
APD TorontoSoftware Developer

Author

Commented:
There is a very simple solution...just create your output as .csv
.csv files are basic text files which Excel is able to open directly.

Not that easy... I need groupings  and charts.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial