500 error when spell checking

4 posts, 1 answers
  1. John
    John avatar
    31 posts
    Member since:
    May 2011

    Posted 21 Jul 2011 Link to this post

    When I launch spell checker from RAD Editor on my development PC it works fine, but on my web server I get a 500 error with the following message in a dialog box:

    Telerik.Web.UI.SpellCheckHandler.axd

     

    Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

    I am not using a custom dictionary, only the standard ones.

  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 22 Jul 2011 Link to this post

    Hello John,

    Can you please try to use another dictionary for example fr-FR.tdf (delete the English one) and set the SpellCheckProvider to EditDistance, e.g.

    <telerik:RadSpell SpellCheckProvider="EditDistanceProvider" Language="fr-FR" ... />

    Does the problem still exist?

    This is the only thread that I found with this error: http://www.telerik.com/community/forums/aspnet-ajax/spell/spell-check-server-error-500.aspx

    Best regards,
    Rumen
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Robert
    Robert avatar
    10 posts
    Member since:
    Oct 2008

    Posted 22 Aug 2011 Link to this post

    I too get Spell Check Handler Server Error:500.  Runs fine on dev machine, but fails on server. 

    Error is "Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."

    When I inspected the files on the server I noticed only the en-US-Custom.txt was published, not the tdf file.

    Error was resolved by manually copying the tdf file to the server location.

    Hope this helps.
  5. Larry
    Larry avatar
    3 posts
    Member since:
    Nov 2011

    Posted 30 Mar 2012 Link to this post

    it would help if you would tell us more about the server location you mentioned - do you mean the bin folder or app_data folder or the root folder of the application in IIS?  please be specific.  thanks



Back to Top