asp.net - 500 error for long url iis7 -


I was getting 404 errors for some long URLs on the website being developed. After a bit of digging, I came to know that this occurs when the length of certain aspects of the URL is greater than the configurable limit in IIS7. In this case maxQueryString properties requestLimits It is important to increase the property in web.config

  & lt; System.webServer & gt; & Lt; Security & gt; & Lt; RequestFiltering & gt; & Lt; RequestLimits maxQueryString = "4096" Maximum Disabled Content Length = "4096" maxUrl = "8192" & gt; & Lt; / RequestLimits & gt; & Lt; / RequestFiltering & gt; & Lt; / Safety & gt;  

This problem was fixed on your development server immediately but I'm getting on the remote server now:

500 - Internal Server Error.

There is a problem with the resource you are looking for, and it can not be displayed.

And this is all the information that gives me

Change your flash to send data as POST, so this URL will not be added. . Also, you may need to make changes from the server to see data in place of GET instead of data.


Comments