guys,
this is a pretty bizare issue, i have an ASP.NET page( VS 2003) , frame
work 1.1.
I have 7 file browser control on the page with 7 images boxes. User browses
to his local file directory using file these browser control and selects the
images to upload. They can select 7 images in 7 file browsers controls and
hit on submit. File size of each on these images on an average is 600KB +.
When the user hits on submit , these files are posted to the website where
using Drawing namespace( and i guess another one, i dont remember), i redraw
the image with different compression value( guess that was compression ,
which resizes the image to a smaller size 25 kb) and save it to the folder on
the webserver and update the database with the name of the images. All goes
well when i am uploading 3-4 images at a time. When i select all the 7
images, the pages crahses. This happen even on my development environment. I
am 100% certain there is no bug in my code, did a lot of debugging. I even
try to have breakpoint on page_int, Page load, submit button and all other
events and functions but as soon as i hit on submit after selecting 7 images,
the page show "page could not be found " error in jsut 1 sec and It does not
even go to any of the events. It is almost as if there is a limit to what can
be uploaded from the browse. Can any body shed some light on this issue, why
can't i upload all the 7 images at the same time ?
thanks in Advance
Sameer 2 1382
It's possible the uploads are causing the worker process to exceed a
memory threshold and the process is being recycled.
PRB: Cannot Upload Large Files When You Use the HtmlInputFile Server
Control http://support.microsoft.com/default...b;en-us;295626
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 20 May 2005 07:21:10 -0700, sameer
<sa****@discussions.microsoft.com> wrote: guys, this is a pretty bizare issue, i have an ASP.NET page( VS 2003) , frame work 1.1. I have 7 file browser control on the page with 7 images boxes. User browses to his local file directory using file these browser control and selects the images to upload. They can select 7 images in 7 file browsers controls and hit on submit. File size of each on these images on an average is 600KB +. When the user hits on submit , these files are posted to the website where using Drawing namespace( and i guess another one, i dont remember), i redraw the image with different compression value( guess that was compression , which resizes the image to a smaller size 25 kb) and save it to the folder on the webserver and update the database with the name of the images. All goes well when i am uploading 3-4 images at a time. When i select all the 7 images, the pages crahses. This happen even on my development environment. I am 100% certain there is no bug in my code, did a lot of debugging. I even try to have breakpoint on page_int, Page load, submit button and all other events and functions but as soon as i hit on submit after selecting 7 images, the page show "page could not be found " error in jsut 1 sec and It does not even go to any of the events. It is almost as if there is a limit to what can be uploaded from the browse. Can any body shed some light on this issue, why can't i upload all the 7 images at the same time ?
thanks in Advance Sameer
I'm guessing the page is timing out,
A much better approach, and this one will protect your web server is to
upload the images to a directory then have a background worker process
that does the conversion
The user will have to wait for the images to be resized This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Steve D. |
last post by:
I recently installed VS.NET 2003
After opening a project and leaving it open, after a certain period of time
it crashes. It only does this when a project is open. The project that I've
tried...
|
by: Scott McNair |
last post by:
While working on changing our email page, I noticed that it wasn't
working - either the original or my changed page. The page would
acknowledge the email as being sent (i.e. no errors were...
|
by: greeningster |
last post by:
I have written an application in Visual C++ for a customer but it seems
to crash randomly.
Could anyone give me any help on how I could track this down ?
Also, there appears there might be...
|
by: bissatch |
last post by:
Hi,
I am currently writing a news admin system. I would like to add the
ability to add images to each article.
What I have always done in the past is uploaded (using a form) the
image to a...
|
by: Simon |
last post by:
This problem has been driving me mad for months.... Seen a few posts on
forums about it but no answers... No mention on MSDN etc.
XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a...
|
by: Neo Geshel |
last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress
2005. Why? Because I can. Because I will gain experience.
The one thing that has me stumped at square one is inline images....
|
by: Wayne Smith |
last post by:
I've come up against a major headache that I can't seem to find a solution
for but I'm sure there must be a workaround and I would really be grateful
of any help.
I'm currently building a web...
|
by: walterbyrd |
last post by:
I like to develop on my desktop, then when I get stuff working, I copy
to my web-site.
I set up a new version Xampp on my windows-2k desktop. And downloaded
the stuff from the website to edit....
|
by: ttamilvanan81 |
last post by:
Hai everyone,
I need to provide the slideshow for the images.
I have upload the images into database. Then i will retrive all the images from the database and provide the slideshow for those...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
| |