Spell check handler error: The length of the string exceeds the value set on the maxJsonLength property

2 posts, 0 answers
  1. Suhua
    Suhua avatar
    6 posts
    Member since:
    Mar 2013

    Posted 25 Dec 2014 Link to this post

    Hi,

    I use RadSpell for spelling check control, it works fine when the text is small, but when the text content is large, for example 30k+ lines, an error page pop up:

    Spell check handler server error: 500
    ...
    <title>...The length of the string exceeds the value set on the maxJsonLength property.</title>
    ...

    I use client JS method startSpellCheck();  and set source text when I click a button.

    And I also set the maxJsonLength to a big value, but it seems that the spell check ignore it:

    <system.web.extensions>
        <scripting>
          <webServices>       
            <jsonSerialization maxJsonLength="2147483644"></jsonSerialization>
          </webServices>
        </scripting>
      </system.web.extensions>
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1800 posts

    Posted 26 Dec 2014 Link to this post

    Hi Suhua,

    Please refer to the answer in the other thread that you have opened regarding the same issue:
    In the future, for all sides convenience, please try to avoid opening duplicate threads.


    Regards,
    Konstantin Dikov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top