Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - MaxRequestLength totally ignored

 
Thread Tools Search this Thread
Old 11-03-2009, 09:44 PM   #1
Default MaxRequestLength totally ignored


Hi All,

I try to set the max file upload size, but somehow I cannot seem to get it
to work.
The setting seems totally useless ;(

I tried to set it to 1, but nevertheless I still can upload files of 212kB.
I tried to set it to 20480, but still cannot upload files larger than +- 7 MB.

I am running ASP.NET 3.5 and browse the site using the development webserver
in VS2008 (tried both in debug and not debug mode).

Anyone has seen and solved this?

It is hard to debug, since it throws a
"Internet Explorer cannot display the webpage"
error..

Thanx in advance...


John Gorter
  Reply With Quote
Old 11-03-2009, 09:56 PM   #2
John Gorter
 
Posts: n/a
Default RE: MaxRequestLength totally ignored
Additional info:

this is the exact line from my web.config at the root of my site:
"<runtime maxRequestLength="1" executionTimeout="3600">"

Nevertheless, I still can upload pictures with sizes of 200KB and more...


John


John Gorter
  Reply With Quote
Old 11-03-2009, 10:31 PM   #3
John Gorter
 
Posts: n/a
Default RE: MaxRequestLength totally ignored
Nevermind, figured it out...

I had to be triggered when I did not get the intellisense

I used the runtime xml element, should be the httpRuntime element in the
system.web sectiongroup

John

"John Gorter" wrote:

> Additional info:
>
> this is the exact line from my web.config at the root of my site:
> "<runtime maxRequestLength="1" executionTimeout="3600">"
>
> Nevertheless, I still can upload pictures with sizes of 200KB and more...
>
>
> John



John Gorter
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo announces first totally DRM-free music Silverstrand Media 0 09-22-2006 02:57 PM
Re: am I totally screwed? Kadesh the fistula-eyewinker Computer Support 1 02-10-2005 06:19 AM
How do I DELET this DAMN program TOTALLY! Jim & Lil Computer Support 6 01-30-2004 03:19 AM
My Web Site Totally Disappeared From Web Search Results Diane D Computer Support 3 01-09-2004 04:24 AM
Today is totally OT day NewKillerStar Computer Support 1 09-21-2003 09:08 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46