web.config

Request Filtering module is configured to deny a request that exceeds request content length

It's been a while since I last wrote on this blog. Been busy with work + real life. Anyway, here's what I encountered a couple of days ago.

We were working on a module that would allow users to upload files to the server (the file is stored in SQL Server as VARBINARY). The maximum allowed file size to be uploaded was made configurable through web.config file. We set those to be 50mb. When we tried to upload a 36mb file, IIS7 gave us this error:

Syndicate content