Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


ASP Application - Excel Export

Posted on 2009-05-19
Medium Priority
Last Modified: 2012-05-07
We have an ASP 3.0 application that uses SQL 2005 for the database.  One feature we have is that ability to export database records to an excel spreadsheet.  For example a user will be on a page and click export records.  A window will pop up and prompt them to save or open the file.  If they click save, it saves to the desktop (or any location they save it to) very fast.  The file itself is only 2.5MB.  It has about 4,000 records and about 50 columns of data.  We think there is no problem exporting the data to excel as the file saves very fast.  However, when you try to open the file, it can take up to 5 minutes to open.  Excel just hangs as it is trying to open the file.  The file itself is not very big, but we think this may be because when the file is exporting to excel, it may be exporting all HTML in the background (not sure if that is correct though).  We are just using standard ASP 3.0 code to export that data.  Can someone please suggest the best method for exporting this file to excel without the issue we are having.  It still must be done in ASP as the applicaiton is an ASP app.  

Thank You --
Question by:sam1492
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 24427744
Check out  Although I'm not sure it works with classic ASP.  You are referring to ASP and not ASP.Net right?

Author Comment

ID: 24427765
Thanks for the site.  It seems like it is for ASP.Net while our app is classic ASP.  
LVL 31

Accepted Solution

Wayne Barron earned 500 total points
ID: 24427778
Link is no good.

Try out the following (I have used these in the past)
Export Data to Excel using ASP

Good Luck
LVL 31

Expert Comment

by:Wayne Barron
ID: 24427788
Sam did you see Tim's link? Were you able to view the page?
As I got a [Sorry, '' does not exist or is not available.]

Anyway, hope that my information helps you.
Good Luck

Assisted Solution

TimSledge earned 500 total points
ID: 24427966
Sorry, I did not spell it correctly.  Try this:

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

715 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