what will be the higher range for maxUrlLength and maxQueryStringLength
I am getting Remote server returned an error: (400) Bad Request . exception when i try to upload zip file to Web API hosted on remote server.
my web.config
<httpRuntime maxRequestLength="300000000" />
IIS displays:
found that my URL exceeds this limit. googled to figure maximum value for QueryString and URLLength. But, I am not able to find constant result for this,
I tried with:
<httpRuntime maxRequestLength="300000000"
relaxedUrlToFileSystemMapping="true"
maxUrlLength="65536" maxQueryStringLength="2097151"/>
链接地址: http://www.djcxy.com/p/42032.html