Re: Help with HTML control
From: Landi (taulantdhami_at_yahoo.com)
Date: 07/22/04
- Next message: Landi: "Re: How to invoke second win form"
- Previous message: Greg Burns: "Re: how to shut off validation"
- In reply to: Bob B: "Help with HTML control"
- Next in thread: Bob Biermann: "Re: Help with HTML control"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Jul 2004 19:05:44 -0400
Hey Bob,
I have had the same issue. You have to specify in the web.config file what
the max file size would be. If you specify it in the code what the file size
limit is it will get over written by the default value. To get around that
you have to put this tag in the web.config file. Anywhere should be good, as
long as it is within the <system.web> tags.
<httpRuntime
maxRequestLength="2934883" 'I believe this is in bytes
executionTimeout="3600" 'in seconds, if the files are going
to be big I would suggest to put a huge value for timeout.
This should work. Let me know if it doesn't. I will look it up for you.
--Landi
"Bob B" <rjbiermann@yahoo.com> wrote in message
news:3e3df053.0407221432.a239a47@posting.google.com...
> I'm new to this so I hope I am able to explain my problem.
>
> I have a page with a HTML browse/input button. I browse for a file and
> click a button to move a file from my local computer to a server. The
> page_init code fires just fine if the file selected for copy is 3 MB
> or less. Anything greater causes a Page Not Found error before the
> page_init fires. Does anyone know why the file size is an issue?
> There is plenty of disk space on the server. I can manually copy the
> file without a problem.
>
> Thanks in advance,
> Bob
- Next message: Landi: "Re: How to invoke second win form"
- Previous message: Greg Burns: "Re: how to shut off validation"
- In reply to: Bob B: "Help with HTML control"
- Next in thread: Bob Biermann: "Re: Help with HTML control"
- Messages sorted by: [ date ] [ thread ]