Posts

Showing posts from February, 2021

405 - HTTP verb used to access this page is not allowed

Just add the following config in the web.config file  <system.webServer>   <modules> <remove name="WebDAVModule" />   </modules>       <handlers> <remove name="WebDAV" />       </handlers>     </system.webServer>

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

The default json size configured in asp.net mvc is 2097152. You can change it or add in the web.config < configuration > < system.web.extensions > < scripting > < webServices > < jsonSerialization maxJsonLength = "50000000" /> </ webServices > </ scripting > </ system.web.extensions > </ configuration >