User-707554951 posted
Hi ngaisteve1,
From your description, I suppose perhaps the issue is related that when an unauthorized request comes in, the entire request is URL encoded, and added as a query string to the request to the authorization form, So, query string
exceed maximum querystring size. So, I suggest you could
increase the maximum querystring size by setting the maxQueryString attribute on the requestLimits element in the system.webServer/security/requestFiltering configuration section in your application’s web.config.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="32768"/>
</requestFiltering>
</security>
</system.webServer>
<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>
For more information about error 404.15, you could refer to the link below:
http://www.iis.net/ConfigReference/system.webServer/security/requestFiltering/requestLimits
https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.100).aspx
Hope this can help you. If you have any question and confusion about the problem. Please don't hesitate to let me know.
Best regards
Cathy