I made a website with c # MVC that contains an ajax function that returns an xml, when I execute it in visual studio everything is fine, but when I put it in the iis the xml is cut in 2033 characters.
I already put this in the web.config and it does not work
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="500000000" />
</requestFiltering>
</security>
<system.web>
<httpRuntime maxRequestLength="500000000" executionTimeout="120" />
</system.web>
And in the IIS