The request filtering module is configured to deny a request where the query string is too long.
I am having above error, and I have been trying almost everything but no luck
My Project is MVC4 on Visual Studio 2013
things I have made sure are correct and tried.
- There is no [Authorize] Attr on my classes with [AllowAnonymous] Attr.
- I have added maxQueryStringLength="32768" maxUrlLength="65536" to in my config file
- I have added -->
I have [AllowAnonymous] attr on my log on Actions in my controller.
I have no problem when I run the application in debug mode or without debug mode on Visual Studio.
here is my rout config routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } );
this is the error I am getting on the web server