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

Radspell error. Server returned error:500

2 Answers 81 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Ashutosh
Top achievements
Rank 1
Ashutosh asked on 18 May 2010, 01:12 AM
I am getting  "Radspell error. Server returned error:500" internal server error.

I have attached a screenshot of the message.

I am getting this message only on the production environment but not the Test or Development .

Please help.

Regards.

2 Answers, 1 is accepted

Sort by
0
Ashutosh
Top achievements
Rank 1
answered on 18 May 2010, 01:17 AM
Here is the complete exception :

RadSpell error. Server returned error: 500
Please, see the help for more details: RadSpell 3.x - Configuration - SpellCheckHandler.
/RadControls/Spell/Telerik.RadSpellCheckHandler.ashx
missing } in XML expression

<html>

    <head>

        <title>This language is incompatible with the phonetic spell check provider. &nbsp;Please use the edit distance spell provider by setting the SpellCheckProvider property to SpellCheckProvider.EditDistanceProvider .</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 '/' Application.<hr width=100% size=1 color=silver></H1>



            <h2> <i>This language is incompatible with the phonetic spell check provider. &nbsp;Please use the edit distance spell provider by setting the SpellCheckProvider property to SpellCheckProvider.EditDistanceProvider .</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>Telerik.WebControls.Dictionaries.IncompatibleLanguageException: This language is incompatible with the phonetic spell check provider. &nbsp;Please use the edit distance spell provider by setting the SpellCheckProvider property to SpellCheckProvider.EditDistanceProvider .<br><br>



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



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

               <tr>

                  <td>

                      <code>



An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>



                  </td>

               </tr>

            </table>



            <br>



            <b>Stack Trace:</b> <br><br>



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

               <tr>

                  <td>

                      <code><pre>



[IncompatibleLanguageException: This language is incompatible with the phonetic spell check provider.  Please use the edit distance spell provider by setting the SpellCheckProvider property to SpellCheckProvider.EditDistanceProvider .]

   Telerik.WebControls.Dictionaries.MetaphoneDictionary.AddPhoneticWord(String word, String primaryHash, String alternateHash) +129

   Telerik.WebControls.Dictionaries.MetaphoneDictionary.AddCustomWord(String word) +52

   Telerik.WebControls.Dictionaries.SpellDictionary.LoadCustomDictionary(ICustomDictionarySource customSource) +52

   Telerik.WebControls.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader, ICustomDictionarySource customSource, String cacheKey) +51

   Telerik.WebControls.SpellChecker.LoadDictionary() +290

   Telerik.WebControls.SpellChecker.get_dictionary() +16

   Telerik.WebControls.SpellChecker.CheckWord(String word, String sLastWord) +163

   Telerik.WebControls.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous) +64

   Telerik.WebControls.SpellChecker.CheckText() +171

   Telerik.WebControls.SpellChecker.BadWordsJScript() +13

   Telerik.WebControls.SpellCheckHandler.ProcessSpellCheckRequest(String text) +94

   Telerik.WebControls.SpellCheckHandler.ProcessRequest(HttpContext context) +240

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75

</pre></code>



                  </td>

               </tr>

            </table>



            <br>



            <hr width=100% size=1 color=silver>



            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053



            </font>



    </body>

</html>

<!--

[IncompatibleLanguageException]: This language is incompatible with the phonetic spell check provider.  Please use the edit distance spell provider by setting the SpellCheckProvider property to SpellCheckProvider.EditDistanceProvider .

   at Telerik.WebControls.Dictionaries.MetaphoneDictionary.AddPhoneticWord(String word, String primaryHash, String alternateHash)

   at Telerik.WebControls.Dictionaries.MetaphoneDictionary.AddCustomWord(String word)

   at Telerik.WebControls.Dictionaries.SpellDictionary.LoadCustomDictionary(ICustomDictionarySource customSource)

   at Telerik.WebControls.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader, ICustomDictionarySource customSource, String cacheKey)

   at Telerik.WebControls.SpellChecker.LoadDictionary()

   at Telerik.WebControls.SpellChecker.get_dictionary()

   at Telerik.WebControls.SpellChecker.CheckWord(String word, String sLastWord)

   at Telerik.WebControls.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous)

   at Telerik.WebControls.SpellChecker.CheckText()

   at Telerik.WebControls.SpellChecker.BadWordsJScript()

   at Telerik.WebControls.SpellCheckHandler.ProcessSpellCheckRequest(String text)

   at Telerik.WebControls.SpellCheckHandler.ProcessRequest(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

--><!--

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->




0
Rumen
Telerik team
answered on 18 May 2010, 08:51 AM
Hi Ashutosh,

This error means that the language uses in the dictionary is incompatible with the Phonetic SpellCheckProvider of RadSpell. To fix the problem please enable the "EditDistanceProvider" spellcheck provider, e.g.

<telerik:RadSpell SpellCheckProvider="EditDistanceProvider" EditDistance="2"  .../>

Kind regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Spell
Asked by
Ashutosh
Top achievements
Rank 1
Answers by
Ashutosh
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or