Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there any size limit for a request that can be handled by IIS? How to disable or increase that limit?

I read somewhere that this limit is 16K, but i am not sure about that or how to disable it.

share|improve this question

migrated from stackoverflow.com Nov 28 '11 at 15:54

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

You can't disable it but you can override it in your web.config. It is set in the machine.config that get's shared between all of your files.

share|improve this answer
    
Can you post a sample plz? –  Rafael Colucci Nov 28 '11 at 15:49
    
Is that what i need to do? <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1000000" /> </requestFiltering> </security> –  Rafael Colucci Nov 28 '11 at 15:50
    
hi yeah that sounds about right. You use something diff for older .net with httpruntime. Sorry I didn't put an example I was going to then had meeting. –  Dave Walker Nov 28 '11 at 16:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.