I am building a site in which i would like to create a file client side from the value of a textarea element.
I have the code in place to do this, but i am getting this error
HTTP Error 404.15 - Not Found The request filtering module is
configured to deny a request where the query string is too long.
Add the following to your web.config:
<system.webServer> <security> <requestFiltering> <requestLimits maxQueryString="32768"/> </requestFiltering> </security> </system.webServer>
Updated to reflect comments.
You may have to add the following in your web.config as well
<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>
Of course the numbers (32768 and 65536) in the config settings above are just examples. You don't have to use those exact values.