More in this section
Forums / Bugs & Issues / ReportViewer increase MaxStringContentLength

ReportViewer increase MaxStringContentLength

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. jose
    jose avatar
    1 posts
    15 Jan 2014
    15 Jan 2014
    Link to this post

    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,. 
  2. Stef
    Stef avatar
    1 posts
    21 Jul 2017
    20 Jan 2014
    Link to this post
    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.

2 posts, 0 answered