Reputation: 1117
I have the following in the web.config file
<httpRuntime maxUrlLength="2097151" maxQueryStringLength="2097151" relaxedUrlToFileSystemMapping="true" />
However, if the url is really long it throws a 404 error in fact if the string is over 2096 characters long.
Does anyone know a work around?
thanks
Upvotes: 1
Views: 2869
Reputation: 1117
ok for all those people who will encounter this problem.
In server 2012 go to your site -> "request filtering" -> "edit feature"
Then modify maximum url length and max query string bytes
Upvotes: 3