Thursday, October 10, 2013

HTTP Error 404.15 - Not Found ( 4.0, IIS 7.5)

HTTP Error 404.15 - Not Found

The request filtering module is configured to deny a request where the query string is too long.

This is what I did to increase the query string length accepted by the web application (.net 4.0, IIS 7.5). It worked for me.

Add this to your web.config

    <httpRuntime maxQueryStringLength="2097151"></httpRuntime> 

        <requestLimits maxQueryString="2097151"/>

No comments:

Post a Comment

Comments will appear once they have been approved by the moderator