Solved

Excel Reports from Web Server

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

896 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

11 Experts available now in Live!

Get 1:1 Help Now