Spell Check Handler Server Error: 500 (Runtime Erro)

16 posts, 1 answers
  1. Eduan
    Eduan avatar
    2 posts
    Member since:
    Oct 2012

    Posted 02 Oct 2011 Link to this post

    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...

  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 05 Oct 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eduan
    Eduan avatar
    2 posts
    Member since:
    Oct 2012

    Posted 06 Oct 2011 Link to this post

    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.
  5. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 06 Oct 2011 Link to this post

    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
  6. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 30 Aug 2012 Link to this post

    Hi,
    I am also facing a similar problem.

    I created an en-US-Custom.txt  custom file and kept in the custom folder. When i do this in my local machine and run the spell checker it is working fine.
    But when the same was done on a web server and launched the spell checker, then it throws following error.

    RadSpell error. Server returned error: 500 Please, see the help for more details: RadSpell 3.x - Configuration - SpellCheckHandler./Core/Resources/Controls/RadControls/Spell/Telerik.RadSpellCheckHandler.ashxExpected ';'A fatal error has occurred

    I don't know why this is happening like this. 

    The File version of "Telerik.Web.UI.dll" that i have is "2009.1.402.20".

    If any one can look into my issue, it would be very helpful for me....Thanks in advance.

    Thanks,
    Vinay


  7. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 03 Sep 2012 Link to this post

    Hello,

    My suggestion is to test with the latest official release of RadControls for ASP.NET AJAX Q2 2012 and if the problem still persists to sent the whole text of the error. Make sure that the dictionaries files are uploaded to the server as well.

    Kind regards,
    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.
  8. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 03 Sep 2012 Link to this post

    Hello Rumen,

    My company is currently not ready to upgrade to the next Version. So is there any workaround for that ?
    Yes, I have uploaded the dictionary files in addition with the custom files.
    Am attaching the screenshot of the error i got.

    Please help me on this.

    Thanks,
    Vinay
  9. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 04 Sep 2012 Link to this post

    Hi Vinay,

    My suggestion is to go to the dictionaries folder and delete the en-US-Custom.txt file. This should fix the issue.
    After that add a new word via the SpellChecker dialog and RadSpell will automatically create a new custom dictionary file.

    Best regards,
    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.
  10. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 04 Sep 2012 Link to this post

    Hi Rumen,

    Where can i get that "SpellChecker dialog". Is it a free tool ?

    Can you send me the link, so that it would be helpful for me.

    Thanks,
    Vinay
  11. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 04 Sep 2012 Link to this post

    Hello,

    By "SpellChecker dialog" I meant the RadSpell dialog. It doesn't matter whether you use RadSpell as a standalone or the integrated spellchecker of RadEditor. In both cases, the same spellchecking engine is used and you should delete the problematic en-US-Custom.txt file.

    Best regards,
    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.
  12. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 07 Sep 2012 Link to this post

    Hello Rumen,

    I have tried your suggestion. i deleted all the Custom files and only kept the original tdf files , but then also am getting the same error.

    Do i have to do anything else?

    Thanks,
    Vinay
  13. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 10 Sep 2012 Link to this post

    Hello,

    Could you please replace the existing tdf dictionaries with the attached ones?

    Also just for test, install and test the latest version of RadControls for ASP.NET AJAX to see whether the problem is not fixed.

    Best regards,
    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.
  14. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 10 Sep 2012 Link to this post

    Hi Rumen,

    Today i faced a weird situation.

    we have different Web servers in which our application is hosted for our customers.

    Earlier i tried in one Web server and that doesn't worked as explained earlier.

    Today i tried in different Web server and here it worked properly and also found that previously (2 years ago) this custom dictionary was provided to one of my customers who is part of this Web server. So, this custom dictionary is working only for the customers   
     who is in this Web server and this is provided by one of the developers who is no longer in my company.

    So, from this i can say there is no problem with the files that i have created.

    So, Is there any configuration i have change to make the custom spell check work in other web servers.


    Thanks,
    Vinay
  15. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 11 Sep 2012 Link to this post

    Hi,

    Could you please open a support ticket and provide this custom dictionary for examination? If it works for one server, it is strange that it does not work for another one.

    Are these servers working in a web farm or do they just run the same application?


    Greetings,
    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.
  16. Vinay
    Vinay avatar
    14 posts
    Member since:
    Nov 2011

    Posted 11 Sep 2012 Link to this post

    Hi Rumen,

    Yes you are right, these servers are working in a Web farm.

    I have created a support ticket : 603339 as per your request and attached the dictionary file which worked in one server and not working in all the other servers.

    Can you please look in this ticket, so that it would be very helpful for me.

    Thanks,
    Vinay
  17. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 13 Sep 2012 Link to this post

    Hi,

    I want to notify you that I just answered your support ticket.

    Kind regards,
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017