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

500 error when spell checking

3 Answers 136 Views
Spell
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 21 Jul 2011, 07:25 AM
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.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Jul 2011, 02:43 PM
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!

0
Accepted
Robert
Top achievements
Rank 1
answered on 22 Aug 2011, 03:31 PM
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.
0
Larry
Top achievements
Rank 1
answered on 31 Mar 2012, 01:12 AM
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



Tags
Spell
Asked by
John
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Robert
Top achievements
Rank 1
Larry
Top achievements
Rank 1
Share this question
or