Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 10th, 2004, 01:27 PM
Registered User
Join Date: Jun 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue of downloading Excel file(resent)

Hi there,
I have an asp program that generate Excel file it works on my local machine even for a big file(3 M). But after It is deployed to web server(IIS 5), it works for a small file(1.7M), but id does not work for a bigger file(3M). I debugged and found out script timeout. So I changed server.scripttimeout into 900 seconds, but it does not work yet. By the way I use HTTPS on server. Any one who knows how to fix it please help. Thanks a lot.
The following code is example of my ASP file.

<%@ Language=VBScript %>

    Rs.Open "strSQL", "cnString"

    if not rs.EOF then
        Response.Write("<table border=1 align=center cellSpacing=0 > ")
        'Display details of the records in the current page
            Response.Write(" <tr> ")

            for i=0 to fldsNum-1
                Response.Write("<td>"&Rs.Fields.Item(i).Name&" </td>")
            Response.Write(" </tr> ")
        while not rs.EOF
            Response.Write(" <tr> ")

            for i=0 to fldsNum-1
                Response.Write("<td nowrap>"&Rs.Fields.Item(i).Value&" </td>")
            Response.Write(" </tr> ")
        Response.Write(" </table><BR> ")
        Response.Write("<p> Records found: "&jj&"</P><BR><BR>")
        Response.Write("No records are found in this search!")
    end if
    set rs=nothing

Reply With Quote
  #2 (permalink)  
Old June 10th, 2004, 05:24 PM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

check out http://www.greggriffiths.org/webdev/both/excel/ which covers this topic.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue after downloading file in ASP.NET page subhasps8 SharePoint Development 0 December 24th, 2007 08:07 AM
Downloading Excel File hugh@kmcnetwork.com VB How-To 0 October 28th, 2004 11:40 AM
Issue of downloading Excel file(resent) zuolinbai Classic ASP Professional 3 June 15th, 2004 11:10 AM
Issue of downloading Excel file zuolinbai Classic ASP Professional 1 June 7th, 2004 05:50 PM
.csv file saved with Excel, issue with date forma pitophe Excel VBA 0 March 25th, 2004 07:14 PM

All times are GMT -4. The time now is 12:45 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.