Solved

Excel Reports from Web Server

Posted on 2012-12-27
3
207 Views
Last Modified: 2012-12-28
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
0
Comment
Question by:APD_Toronto
3 Comments
 
LVL 8

Accepted Solution

by:
hpdvs2 earned 500 total points
ID: 38724835
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.
0
 
LVL 26

Expert Comment

by:Leon Fester
ID: 38726251
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.
0
 

Author Comment

by:APD_Toronto
ID: 38727456
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.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question