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

radEditor Spell Check :Javascript Error

1 Answer 118 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Poornima
Top achievements
Rank 1
Poornima asked on 21 Jan 2009, 11:14 AM

Hi,
When i try to do spell check in rad editor i get the below  javascript error 

RadSpell error. Server returned error: 500

 

Please, see the help for more details: RadSpell 3.x - Configuration - SpellCheckHandler.

 

/Administration/RadControls/Spell/Telerik.RadSpellCheckHandler.ashx

 

Internal Server Error

 

<html>

    <head>

        <title>No dictionary loaded. Set the DictionaryPath property before spellchecking.</title>

        <style>

         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

         pre {font-family:"Lucida Console";font-size: .9em}

         .marker {font-weight: bold; color: black;text-decoration: none;}

         .version {color: gray;}

         .error {margin-bottom: 10px;}

         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        </style>

    </head>

 

    <body bgcolor="white">

 

            <span><H1>Server Error in '/Administration' Application.<hr width=100% size=1 color=silver></H1>

 

            <h2> <i>No dictionary loaded. Set the DictionaryPath property before spellchecking.</i> </h2></span>

 

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

 

            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

            <br><br>

 

            <b> Exception Details: </b>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property before spellchecking.<br><br>

 

            <b>Source Error:</b> <br><br>

 

            <table width=100% bgcolor="#ffffcc">

               <tr>

please help me with this issue.
thanks
Poornima

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 Jan 2009, 06:50 PM
Hi Poornima,

The problem is most likely due to that you have some URL rewriter or handler that is breaking the AJAX request of the RadSpell's dialog. Please, check whether this is not your case and fix the problem.

To fix the URL rewirter problem exclude the spell dialog from the URL rewriting routine. To do this, simply add the Telerik.RadSpellCheckHandler.ashx file to the if () statement that checks the request URL:


if (!currentURL.EndsWith("Telerik.RadSpellCheckHandler.ashx"))

 ...

This way the request for the dialog aspx will not be handled by your module and the dialog will load OK.

All the best,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Poornima
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or