This is a migrated thread and some comments may be shown as answers.

RadEditor with AjaxSpellCheck

1 Answer 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
FABIAN
Top achievements
Rank 1
FABIAN asked on 15 May 2013, 07:22 PM
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.

Note: 

1) My server is working in integrated mode
2) My web.config file is configured with this telerik keys 
<system.webServer>
<handlers>
<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" />       
</handlers>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
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" />
<Languages>
            <telerik:SpellCheckerLanguage Code="es-ES" Title="EspaƱol" />
            </Languages>
<Tools>
<telerik:EditorToolGroup>
<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" />
</telerik:EditorToolGroup>
</Tools>
<Content>
</Content>

</telerik:RadEditor>

4) I have RadSpell folder in Application App_Data folder.

Thanks

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 20 May 2013, 09:54 AM
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,
Slav
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.
Tags
Editor
Asked by
FABIAN
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or