RadEditor with AjaxSpellCheck

2 posts, 0 answers
    FABIAN avatar
    2 posts
    Member since:
    Aug 2012

    Posted 15 May 2013 Link to this post

    Hi everyone, I'm working with the radeditor control but when I click on spellcheck button 
    I'm getting this error message "Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON. Parameter name: data" . I tried this control on my local machine already and worked fine, but when I send it to the server it doesn't work.


    1) My server is working in integrated mode
    2) My web.config file is configured with this telerik keys 
    <add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />       
    <add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />       
    <add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />       
    <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />       
    <add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"  preCondition="integratedMode" />       
    <validation validateIntegratedModeConfiguration="false" />
    3) I'm using radeditor by this way 
    <telerik:RadEditor ID="rtbTexto" runat="server" Skin="Office2007" D Width="415px">
    <SpellCheckSettings AjaxUrl="Telerik.Web.UI.SpellCheckHandler.axd" />
                <telerik:SpellCheckerLanguage Code="es-ES" Title="Español" />
    <telerik:EditorTool Name="Bold" />
    <telerik:EditorTool Name="Italic" />
    <telerik:EditorTool Name="Underline" />
    <telerik:EditorTool Name="StrikeThrough" />
    <telerik:EditorTool Name="Undo" />
    <telerik:EditorTool Name="Redo" />
    <telerik:EditorTool Name="InsertOrderedList" />
    <telerik:EditorTool Name="InsertUnorderedList" />
    <telerik:EditorTool Name="JustifyLeft" />
    <telerik:EditorTool Name="JustifyCenter" />
    <telerik:EditorTool Name="JustifyRight" />
    <telerik:EditorTool Name="JustifyFull" />
    <telerik:EditorTool Name="PastePlainText" />
    <telerik:EditorTool Name="PasteAsHtml" />
    <telerik:EditorTool Name="ConvertToLower" />
                                                                                 <telerik:EditorTool Name="ConvertToUpper" />
    <telerik:EditorTool Name="AjaxSpellCheck"  />
    <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />


    4) I have RadSpell folder in Application App_Data folder.

  2. Slav
    Slav avatar
    1359 posts

    Posted 20 May 2013 Link to this post

    Hello Fabian,

    Check if you have correctly registered the SpellCheckHandler.axd in your application's Web.config file. Try deleting the handler and adding it again using the control's smart tag. Also check if the RadControls assemblies are installed in the GAC of your server, because you are using a fully qualified name in the registration of SpellCheckHandler.axd.

    The problem might also be related to forms authentication -  you can examine this forum thread for more information.

    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.
Back to Top