473,484 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

creating a spreadsheet

I'm creating a spreadsheet online via ASP. I have the following at the page
top...

<% Response.contenttype = "application/vnd.ms-excel" %>
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>

It works fine for some 60+ manufacturer listings. However, it balks on one
single manufacturer. By chance, this manuf has 18,000+ records. The others,
less than 10,000. Is there a limit to the number of records I can convert to
XLS...?

thanks!
Jul 19 '05 #1
4 1467
I wouldn't think it's a programmatic limitation. How many records more than
18,000? Excel 2000 for example can only handle 65536 rows. What behaviour
are you seeing when it balks? Try commenting out the content-disposition
line to let the page render as HTML and see what the error message says. Is
your script timing-out?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I'm creating a spreadsheet online via ASP. I have the following at the page top...

<% Response.contenttype = "application/vnd.ms-excel" %>
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>

It works fine for some 60+ manufacturer listings. However, it balks on one
single manufacturer. By chance, this manuf has 18,000+ records. The others, less than 10,000. Is there a limit to the number of records I can convert to XLS...?

thanks!

Jul 19 '05 #2
There's 18,587 records. I commented out this line...
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>
....and no difference at all.

I get a message box that says...
Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later.

I can select any other manufacturer and it works as planned. The only
difference I notice is the number of records.

thanks!
"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:ek****************@TK2MSFTNGP11.phx.gbl...
I wouldn't think it's a programmatic limitation. How many records more than 18,000? Excel 2000 for example can only handle 65536 rows. What behaviour
are you seeing when it balks? Try commenting out the content-disposition
line to let the page render as HTML and see what the error message says. Is your script timing-out?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I'm creating a spreadsheet online via ASP. I have the following at the page
top...

<% Response.contenttype = "application/vnd.ms-excel" %>
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>

It works fine for some 60+ manufacturer listings. However, it balks on one single manufacturer. By chance, this manuf has 18,000+ records. The

others,
less than 10,000. Is there a limit to the number of records I can

convert to
XLS...?

thanks!


Jul 19 '05 #3
You might see that msg if the format of the file is incorrect. Try
commenting out the line that changes the content-type, not the
content-disposition (my mistake sorry). You should be able to render the
same output as HTML. What format is the data in as it's being rendered; an
HTML table, CSV, tab-separated?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:uc**************@TK2MSFTNGP11.phx.gbl...
There's 18,587 records. I commented out this line...
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>
...and no difference at all.

I get a message box that says...
Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later.

I can select any other manufacturer and it works as planned. The only
difference I notice is the number of records.

thanks!
"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:ek****************@TK2MSFTNGP11.phx.gbl...
I wouldn't think it's a programmatic limitation. How many records more

than
18,000? Excel 2000 for example can only handle 65536 rows. What behaviour
are you seeing when it balks? Try commenting out the content-disposition
line to let the page render as HTML and see what the error message says.

Is
your script timing-out?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I'm creating a spreadsheet online via ASP. I have the following at the

page
top...

<% Response.contenttype = "application/vnd.ms-excel" %>
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>
It works fine for some 60+ manufacturer listings. However, it balks on

one single manufacturer. By chance, this manuf has 18,000+ records. The

others,
less than 10,000. Is there a limit to the number of records I can

convert
to
XLS...?

thanks!



Jul 19 '05 #4
Thanks very much! I commented out the lines and got this error: Response
Buffer Limit Exceeded. A search on that error suggests raising the
AspBufferingLimit setting in Metabase.xml. It did have something to do with
the size of the records after all.
thanks!
"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You might see that msg if the format of the file is incorrect. Try
commenting out the line that changes the content-type, not the
content-disposition (my mistake sorry). You should be able to render the
same output as HTML. What format is the data in as it's being rendered; an
HTML table, CSV, tab-separated?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:uc**************@TK2MSFTNGP11.phx.gbl...
There's 18,587 records. I commented out this line...
<% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %>
...and no difference at all.

I get a message box that says...
Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later.

I can select any other manufacturer and it works as planned. The only
difference I notice is the number of records.

thanks!
"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:ek****************@TK2MSFTNGP11.phx.gbl...
I wouldn't think it's a programmatic limitation. How many records more

than
18,000? Excel 2000 for example can only handle 65536 rows. What behaviour are you seeing when it balks? Try commenting out the content-disposition line to let the page render as HTML and see what the error message says.
Is
your script timing-out?

Alan

"shank" <sh***@tampabay.rr.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> I'm creating a spreadsheet online via ASP. I have the following at
the page
> top...
>
> <% Response.contenttype = "application/vnd.ms-excel" %>
> <% Response.AddHeader "Content-Disposition", "filename=FullList.xls" %> >
> It works fine for some 60+ manufacturer listings. However, it balks

on one
> single manufacturer. By chance, this manuf has 18,000+ records. The
others,
> less than 10,000. Is there a limit to the number of records I can

convert
to
> XLS...?
>
> thanks!
>
>



Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3928
by: volume | last post by:
Hi all, In an effort to try to impress the boss, I would like to log accounting information to an Excel spreadsheet using C# and .NET. This would be a mockup only, not a real solution - yet! We...
3
1840
by: A.M | last post by:
Hi, Using ASP.NET/VB.NET and SQL Server backend, I need to return calculation results to user as an Access MDB file or Excel XLS sheet. What would be the best way to create a MDB or XLS file...
14
2246
by: Raoul Snyman | last post by:
Hi, I need to be able to programatically create excel spreadsheets in ASP.NET (C#), WITHOUT having MS Office on the server. Does anybody have any advice/links/whatever for me? Thanks in...
9
2557
by: Gordon | last post by:
Hello again, Sorry to repost this request, but I'm under a bit of pressure to find a quick solution. All I basically want is an automatically updating link (OLE, not DDE) between a control in...
3
2523
by: Ken Hall | last post by:
Is it possible to create an Excel spreadsheet using VB.NET without opening the Excel application or having to have the Excel application on the operating computer? KH
1
4605
by: Mitch | last post by:
I am using Access to create an Excel spreadsheets with graphs related to rows on the sheet1 to the graph on sheet2. I am using the same data but different subsets of the data to make different...
2
1815
by: vijayarl | last post by:
Hi Everyone, Am trying to collate the individual xls files into a single xls file.i have written this code. use strict; use Spreadsheet::WriteExcel; use Spreadsheet::ParseExcel; use...
5
8891
by: Lindie | last post by:
We use a spreadsheet to record attendance for pupils with special needs. They live-in so we need 365/365 attendance details. The spreadsheet is getting too cumbersome, a Db is needed. I would...
6
6004
by: dillipkumar | last post by:
hi, i have one excel file, i want to create a hash of hash from the excel file, like: %hash= , sheet2 => , .... .... ];
0
7082
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6953
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7144
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7214
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4845
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3041
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1359
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
235
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.