ReportViewer increase MaxStringContentLength

Posted by Community Admin on 04-Aug-2018 03:38

ReportViewer increase MaxStringContentLength

All Replies

Posted by Community Admin on 15-Jan-2014 00:00


I am new with Telerik and its controls. So, when I tried to get  report with huge data I got this response from server:

<s:Envelope xmlns:s=""><s:Body><s:Fault><faultcode xmlns:a="">a:DeserializationFailed</faultcode><faultstring xml:lang="es-PE">El formateador inició una excepción al intentar deserializar el mensaje: Error al intentar deserializar el parámetro Telerik.ReportService:parameters. El mensaje de InnerException era 'Error al deserializar el objeto del tipo Telerik.Reporting.Service.NameValueDictionary. Se superó la cuota de longitud del contenido de cadena (8192) al leer los datos XML. Esta cuota se puede aumentar cambiando la propiedad MaxStringContentLength en el objeto XmlDictionaryReaderQuotas que se usa para crear el lector XML. Línea 3, posición 13968.'. Consulte InnerException para obtener más información.</faultstring></s:Fault></s:Body></s:Envelope>

I have changed MaxStringContentLength to 40 000 000 (in client and webservice), but I got the same response. How can I resolve this issue?

I wrote this in the code
<telerikReport:ReportViewer x:Name="ReportViewerCorr" 
                                Report="LinkSol.Lims.Web.Reporting.QaQcReport.Correlacion, LinkSol.Lims.Web.Reporting, Version=, Culture=neutral, PublicToken=null"/>

Thank you,. 

Posted by Community Admin on 20-Jan-2014 00:00

Hi Jose,

Configure your service bindings and set the maxStringContentLength to maximum for both the basicHttpBinding and webHttpBinding.

I hope this helps you.


New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

This thread is closed