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

Error locating dictionaries

2 Answers 85 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 2
Ed asked on 02 Apr 2012, 05:34 PM
Hi guys,

I'm currently getting the following error when attempting to use the RadSpellChecker in my website

Cannot read the configuration/dictionary language parameters!

Stack Trace:

 

[ArgumentException: Cannot read the configuration/dictionary language parameters!]

   Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessRequest(HttpContext context) +628

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

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


The dictionaries are in the correct place /App_Data/RadSpell, although deleting that folder doesn't seem to make any difference, and I am not setting the dictionary path differently anywhere else, and even if I do set the Dictionary Path explicitly I get the same error. Can you help?

 

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Apr 2012, 01:03 PM
Hi,

Please, see the following forum thread on the subject: Cannot read the configuration/dictionary language parameters!.

This exception would occur in a scenario when the spell window performs a postback, sending the text to be spellchecked to the server. On the server, the SpellCheckHandler HTTP handler tries to read information about the language to be used for spellchecking and some additional information from the POST array.

For some unknown reason (we are not sure which) this information is missing.
One possibility is to use Fiddler and/or FireBug to examine the information in the Request object when the Spell Dialog makes the request. Perhaps the information there can provide some clues why the DictionaryLanguage or Configuration POST variables are empty.

There could be something in your Web.config or your application setup that messes things up.

In case you are not able to resolve the issue, we ask you to send us a simple project that reproduces the problem - then we will find out what is causing it.


All the best,
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.
0
Ed
Top achievements
Rank 2
answered on 03 Apr 2012, 02:06 PM
Problem solved - my application was converting the App_Data/RadSpell directory path to lower case and this was causing the dictionaries to not be found.
Tags
Spell
Asked by
Ed
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Ed
Top achievements
Rank 2
Share this question
or