Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Spell Check Handler Server Error: 500 (Runtime Erro)

Answered Spell Check Handler Server Error: 500 (Runtime Erro)

Feed from this thread
  • Eduan avatar

    Posted on Oct 2, 2011 (permalink)

    When I run spell checker from my web server I get the following error:
    I've tried to search the forum for the same error type but have come up empty handed. If anyone can shed some light on my issue i'd really appreciate it.

    Spell Check Handler Server Error:500
    <html>
    <head>
    <title>Runtime Error</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-weightLbold,color:black;margin-top:-5px}
    H1{
    font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon}
    pre{font-family:"LucidaConsole";font-size:.9em}
    .marker{font-weight:bold;color:black;text-decoration:none;}
    .version{color:gray;}
    .error{margin-botton:10px;}
    .expandable{text-decoration:unerline;font-weight:bold;
    color:navy;curson:hand;}
    </style>
    <head>
     
    <body bgcolor="white">
     
    <span><H1>Server Error in'/'Application.<hr width=100%
    size=1 color=silver></H1>
     
    <h2> <i>Runtime Error</i></h2></span>
     
    <font face="Arial,Helvetica, Geneva, SunSans-Regular,sans-serif">
     
    <b>Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons).It could, however,be viewed by browsers running on the local server machine.
    <br><br>
     
    <b>Details:</b>To enable the details of this specific error message to be viewable on remote machines, please create a
    <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tab should then have its "mode"attribute set to &qyot;Off".<br><br>
     
    <table width=100% bgcolor="#ffffcc">
    <tr>
    <td>
    <code><pre>
     
    <!-- Web...

    Reply

  • Rumen Rumen admin's avatar

    Posted on Oct 5, 2011 (permalink)

    Hi Eduan,


    Your site error handling mechanism is hiding the real error. Could you please temporary disable the error handling in the web.config file and send us a screenshot of the real error, e.g.

    web.config file:

    <customErrors mode="Off" />?

    Best wishes,
    Rumen
    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

    Reply

  • Eduan avatar

    Posted on Oct 6, 2011 (permalink)

    Hi,

    So i disabled the handling error and got the following back as the error:

    Spell Check Handler Server Error:500
    <html>
    <head>
    <title>No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App+Data/RadSpell/</title>
    <style>
    body{font-family:"Verdana";font-weight:normal;font-size:.7em;color:black;}
    p......

    The error goes on with a reference further down telling me to copy the dictionaries to App_Data/RadSpell. So after this I went and looked for a fix in the forum. Tried the following steps like you suggested to another user.

    1. Upgraded the Telerik.Web.UI.dll with this one from the bin35 folder of the latest SP1 hotfix Telerik.Web.UI_2007_3_1314_trial_hotfix.zip. The bin32 version applies to .NET 3.5 projects in VS 2008
    2. After that I registered the spellcheck dialog handler in the web.config file:

      <httpHandlers>
         <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
          validate="false" />
         <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
          validate="false" />
        </httpHandlers>

      You can do that through the smart tag of the spellchecker in Design mode of VS.
    3. I noticed that the dictionaries are located in the ~/App_Data/RadSpell folder which means that the DictionaryPath poperty should point that folder but not ~/RadSpell/en-us.tdf, e.g.

      <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>

      <telerik:RadSpell ID="RadSpell1" Runat="server" ControlToCheck="TextBox9" 
        DictionaryPath="~/App_Data/RadSpell" SpellCheckProvider="TelerikProvider" 
        ButtonType="PushButton" FragmentIgnoreOptions="All" 
        SupportedLanguages="en-US,English" WordIgnoreOptions="None" />

    Though i got the same error on my server when i ran the Spell Checker.
    Is there anything else i might have missed or need to check in order for it to run.


    Thanks.

    Reply

  • Answer Rumen Rumen admin's avatar

    Posted on Oct 6, 2011 (permalink)

    Hi Eduan,

    You are using a very old build of RadSpell. Could you please upgrade to the latest one Q2 2011 SP1 (2011.2.915) and test it? If the problem still persists please isolate it in a sample working project and send it for examination on our side.

    Please also test the attached sample project in which the spellchecker works as expected on my end.

    Best wishes,
    Rumen
    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
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Spell Check Handler Server Error: 500 (Runtime Erro)
Related resources for "Spell Check Handler Server Error: 500 (Runtime Erro)"

ASP.NET Spell Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer Step-by-step Tutorial  ]