Translate

Thursday, October 10, 2013

HTTP Error 404.15 - Not Found (asp.net 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 asp.net web application (.net 4.0, IIS 7.5). It worked for me.


Add this to your web.config

<system.web> 
    <httpRuntime maxQueryStringLength="2097151"></httpRuntime> 
</system.web>

  <system.webServer> 
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="2097151"/>
      </requestFiltering>
    </security>
  </system.webServer>




No comments:

Post a Comment

Comments will appear once they have been approved by the moderator