I am having below mentioned issue when I am running Asp.Net MVC 2 project on windows Azure emulator (dev environment)
My web.config files is as below :
<httpRuntime maxUrlLength="4096" relaxedUrlToFileSystemMapping="true" maxQueryStringLength = "4096" requestValidationMode="4.0" />
My URL with query string is as below :
Note : above having 1490 characters
My controller Action method's redirect is as below :
return RedirectToRoute("booking", new { action = "index", providerKey = providerKey, ownerKey = ownerKey, arguments = arguments, step = step });
Note : arguments
having above query string details
How to get rid of this error page ?
keep your URL length under 2000 characters or use POST
method rather than GET