Why am I getting the "The length of the string exceeds the value set on the maxJsonLength property." error when .NET is trying to parse this large string argument (around 2MB) passed to my controller via a post? The call stack is all within .NET and I haven't changed the default value of the MaxJsonLength property, so I am very curious why this errors! If I understand correctly, the default value is much higher.
This one would make sense if I am trying to parse the argument myself, but I am not, it's all .NET: Can I set an unlimited length for maxJsonLength in web.config?
EDIT: .NET 4.5/MVC 4