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
maxRequestLengt h="2934883" 'I believe this is in bytes
executionTimeou t="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" <rj********@yah oo.com> wrote in message
news:3e******** *************** **@posting.goog le.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