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

[Solved] Unable to make the Spellchecker work within RadEditor.

1 Answer 167 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 13 Nov 2009, 10:23 PM

Need help!!!

I have the radEditor inside the webpage and when I click on the spellcheck button within Editor, below error shows up..

The webpage runs on a sharepoint 2007 server (MOSS). Not sure anything is different with this/

I have verified the handler within the web.config file

<httpHandlers>
      <!-- Telerik Toolbox handlers -->
      <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI, Version=2009.3.1103.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <!-- Telerik Toolbox handlers -ENDS HERE -->
 </httpHandlers>


LOCATION DETAILS

 <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="Telerik.Web.UI.SpellCheckHandler.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>

Under handler section

<handlers>
          <!-- Telerik Controls UI Handlers -->
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik.Web.UI.DialogHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" />
      <!-- Telerik Controls UI Handlers - Ends here-->
    </handlers>


----------------------

ERROR

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Fri, 13 Nov 2009 22:01:36 UTC


Message: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data
Line: 6
Char: 62099
Code: 0
URI: http://rmdev1.development.org/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3ae330518b%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ac8618e41%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a4552b812-caf7-4129-9b53-8f199b5bce6c%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4%3aed16cbdc%3a11a04f7e%3a1e771326%3ae524c98b%3ae330518b%3ac8618e41%3ae4f8f289%3a39040b5c%3adc7e0bd%3a1569bb5f%3a63b115ed%3ac408cfaa

--------------------

My dictionary files are in APP_DATA\RadSpell\*.tdf

I have used fiddler to check the response but not helped much --

raw response -

POST /Alerts/_layouts/rm/Telerik.Web.UI.SpellCheckHandler.axd HTTP/1.1
Accept: */*
Accept-Language: en-us
Referer: http://rmdev1.development.org/Alerts/_layouts/rm/SendAlertByRole.aspx
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Host: rmdev1.development.org
Content-Length: 501
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: WSS_KeepSessionAuthenticated=80; ASP.NET_SessionId=hjgw1qyu0oezta45pl43s155; MSOWebPartPage_AnonymousAccessCookie=80
Authorization: Basic VmlqYXlhZG1pbjpWaWpheTEyMw==

DictionaryLanguage=en-US&Configuration=F3FcUiFxLkRWWX86VRAAWFR%2BXzJkKQcyWgYRQHR1OWIjKnpfH2AlB1EEYn5nLgMYJ35XQh9yDFlRY3A6fxIAaWN%2BandvPgd1dFkCampcA1sQdGJPEV0iRVYVQG9iLgcrCAZATxJaKn1tBnc3fRE2UWd%2FVHViA3ASW3MWR29YD1kLdHIFEVolB34GSEN5HCkjIFtUCxJzFHVQBncEfxMUamd%2Fci5hARsKWHI0dG1YJVEQd1BPEXMDD2MXRHVXKQN2E256SwlzGFpWfHcvfAIDQ2ZSXBZVdTEYaloGW1xiF2kRKFx%2FImAcYFJwZmF7dA8xHF1UDBdxBHpiWUkrfQEqX2lUCRJVdTEYamwSaW5xKUI%3D&CommandArgument=%26nbsp%3Bsadf%20asdf%20dsaf%20sf%20sadfds%20f&CommandName=SpellCheck

HTTP/1.1 200 OK
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
SharePointError: 0
Set-Cookie: WSS_KeepSessionAuthenticated=80; path=/
Set-Cookie: MSOWebPartPage_AnonymousAccessCookie=80; expires=Fri, 13-Nov-2009 22:31:27 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 13 Nov 2009 22:01:28 GMT

ab0
?



1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 19 Nov 2009, 02:28 PM
Hi Vijay,

When it comes to MOSS environment I suggest you to use the RadEditor for MOSS (MOSSRadEditor) control. It is especially designed for it.
 In order to download it you should go to the Downloads section under your account, click on the Visual Studio Extensions, DLLs, Scripts, Source Code, DNN and MOSS wrappers ... link and download the RadEditor for MOSS: (zip, 13 MB) installation. You can see the attached screenshot for more information.

First you need to make sure that you correctly extend your MOSS site with ASP.NET AJAX http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax-35.html. Then review the install instructions in the following help article Installing RadEditor in a MOSS 2007 farm.

Once you install the wsp solutions you will be able to use the MOSSRadEditor control, which is defined in the Telerik.SharePoint namespace.

What you should know though is that the RadEditor for MOSS will automatically install the Telerik.Web.UI Version=2009.3.1103.20 in the GAC. If you want to use the Telerik.Web.UI, Version=2009.3.1103.35 you need to make sure that you have it in the GAC and you add the following code to the web.config.
1. The SafeControl:
<SafeControl Assembly="Telerik.Web.UI, Version=2009.3.1103.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />

2. The binding redirect:
<dependentAssembly>
        <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/>
        <bindingRedirect oldVersion="1.0.0.0-2009.3.1103.20" newVersion="2009.3.1103.35"/>
</dependentAssembly>



Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Vijay
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or