FogBugz on IIS 7.5

If you are running FogBugz on IIS 7.5 (Windows 2008 R2), and trying to submit crash reports via scoutSubmit.asp, you may find that you are greeted with HTTP 404 errors.  I spent a few mintes tracking this down, and it’s due to the length of the querystring used in the request, and IIS 7.5’s request filtering.

You’ll need to edit FogBugz’s web.config and add to the System.WebServer node the following:

<security>
     <requestFiltering>
           <requestLimits maxQueryString="15360"/>
     </requestFiltering>
</security>

That will set the querystring length to 15KB, which should suffice.