RadSpell intermittent issue

2 posts, 0 answers
  1. Bineet
    Bineet avatar
    1 posts
    Member since:
    Sep 2012

    Posted 20 Sep 2012 Link to this post

    Hi Team,

    A couple of days back we have been getting really weired behaviour with the RadSpell Telerik control.

    To tell you of the current scenario:-
    1.    We have a load balancer which balances the traffic between the two servers, so when using the load balance URL the RadSpell throws out the following error :-





    A Runtime Error has occurred.

    Do you wish to Debug?


    Line: 6

    Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.

    Parameter name: data


    Yes   No  


    We log each and every error into out backend so the error recorder corresponding to this in the backed is :-

    No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries
     to ~/App_Data/RadSpell/  

    at Telerik.Web.UI.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader,
    ICustomDictionarySource customSource, String cacheKey)
    at Telerik.Web.UI.SpellChecker.LoadDictionary()
    at Telerik.Web.UI.SpellChecker.get_dictionary()    
    at Telerik.Web.UI.SpellChecker.CheckWord(String word, String sLastWord) 
    at Telerik.Web.UI.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous)    
    at Telerik.Web.UI.SpellChecker.CheckText()     at Telerik.Web.UI.SpellChecker.BadWordsJScript()    
    at Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessSpellCheckRequest(HttpResponse response,
    SpellChecker checker, String text)    
    at Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessRequest(HttpContext context)    
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously

    2.    When using the individual server URL (instead of the load balance), we do not get such error and the RadSpell works just prefectly fine.

    Solutions applied by me:-
    1.    I have verified that both the server contains the dictionary file under ~/App_Data/RadSpell/  folder.
    2.    The dictionary files have no difference.
    3.    Tried adding the loacation Tag o the web.config but that did not work out

    <location path="Telerik.Web.UI.WebResource.axd">  



                <allow users="*" />      





    4.    I tried using fiddler to capture the code that is being sent and I got a 
            302 code for telerik.web.ui.spellcheckhandler.axd.
            But sometime it just works fine and returns a 200 code.
    5.    The Httphandlers already contain the entry for spellcheker and other controls in web.config.



      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />


    We have tried several solution but none of them worked out

    • The only solution left is enforcing the Encryption key in web.config but not sure if this will resolve the issue.

    The file version of telerik control on being used by us is :- 2010.3.1317.35

    Team please help us with this issue.


  2. Rumen
    Rumen avatar
    12788 posts

    Posted 25 Sep 2012 Link to this post


    Please, see in this forum post how another user has fixed this error: JSON Error with Spell Control.

    The problem might also be related to forms authentication - see the following forum thread for more information - http://www.telerik.com/community/forums/aspnet-ajax/spell/radspell-javascript-error.aspx

    You need to add
    <location path="Telerik.Web.UI.SpellCheckHandler.axd"> 
           <allow users="*"/> 

    You can also try to move the dictionaries folder to another location and set the DictionaryPath property to point to it.

    If you are unable to fix it, please provide a live URL to the problematic page so that we can examine the error with Fiddler / Firebug and see what is causing it.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top