Hi, I was wondering if I could get some assistance with an issue I'm having. I have created an angular file upload form in the back office to create nodes from a csv using the umbraco API, however the files uploaded are in excess of 4MB and when I try to submit I receive the following error: Error during serialization using the json javascriptserializer. The length of the string exceeds the value set on the maxJsonLength property.
I have tried updating the following values in the web config to 2147483644 as all answers I could find in the forum point to this, but I still get the error:
<webServices>
<!-- Update this value to change the value to
a larger value that can accommodate your JSON
strings -->
<jsonSerialization maxJsonLength="2147483644" />
</webServices>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483644" />
</requestFiltering>
<httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.7.2" maxRequestLength="2147483644" fcnMode="Single" />
Backoffice angular file upload maxJsonLength exceeded
Hi, I was wondering if I could get some assistance with an issue I'm having. I have created an angular file upload form in the back office to create nodes from a csv using the umbraco API, however the files uploaded are in excess of 4MB and when I try to submit I receive the following error: Error during serialization using the json javascriptserializer. The length of the string exceeds the value set on the maxJsonLength property.
I have tried updating the following values in the web config to 2147483644 as all answers I could find in the forum point to this, but I still get the error:
Have just come across the same issue, any solutions out there?
I had to add override the default serializer to resolve this in the end.
is working on a reply...