I tried to send parameter from client to server with AJAX in ASP.NET but I met with this error. IIS version 8.5 .
my web config:
<configuration> <system.web> <compilation debug="true" targetFramework="4.5.1"/> <httpRuntime targetFramework="4.5.1" maxRequestLength="10000000" executionTimeout="3600" maxQueryStringLength="1000000" maxUrlLength="1048576" appRequestQueueLimit="50000" enable="true" enableHeaderChecking="true" minFreeThreads="8" minLocalRequestFreeThreads="4" relaxedUrlToFileSystemMapping="false" /> <pages controlRenderingCompatibilityVersion="4.0"/> <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="fa-IR" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" maxUrl="2147483647" /> </requestFiltering> </security> </system.webServer> </configuration>
Friends who's the solution?