Solved

Excel Reports from Web Server

Posted on 2012-12-27
3
204 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
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…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now