On Thu, 10 Jun 2004 12:16:34 -0700, dietrich <an*******@devdex.com> wrote:
ASP.NET throws the error? What is actually happening. Is some sort of
header with file size info being read, or is the file being streamed,
and then chokes at the set limit?
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Well, if you follow that link, you'll notice that it's a setting you can
put in web.config, which is ASP.NET specific. It was introduced to
prevent malicious uploading or be able to conserve your bandwidth (enforce
file sizes).
It is possible IIS has a limit of its own, and maybe something you can set
also, which would be checked first. I can't remember tho, when you see
this error page, if it's a result of IIS giving the error, or ASP.NET
playing dumb and returning a 500....
I'm not familiar with all the internals of exactly what goes on in this
scenario. The times I've hit it, it hit the ASP.NET limit and errored
out, so I was able to up the size and get it to go through.
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET