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

RadSpellChecker Deployment

4 Answers 92 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rick
Top achievements
Rank 1
Rick asked on 12 Apr 2012, 05:05 PM
I have used the RadSpellChecker in a Silverlight 5 application and it works great in debug but when I move it to a development server for testing I get an Isolated Storage error.

 Operation not permitted.

   at System.IO.IsolatedStorage.IsolatedStorageSecurityState.EnsureState()
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForSite()
   at Telerik.Windows.Documents.Proofing.RadIsolatedStorageCustomDictionary..ctor(IsolatedStorageScope storageScope, String customDictionaryName)
   at Telerik.Windows.Documents.Proofing.ControlSpellCheckerBase.get_SpellChecker()
   at Telerik.Windows.Documents.Proofing.RadRichTextBoxSpellChecker.MoveToNextError()
   at Telerik.Windows.Controls.RadSpellChecker.ShowWindowForNextError(IControlSpellChecker spellChecker)
   at Telerik.Windows.Controls.RadSpellChecker.CheckWordByWord(Control controlToCheck)
   at Telerik.Windows.Controls.RadSpellChecker.Check(Control controlToCheck, SpellCheckingMode spellCheckingMode)
   at ChildCare.ActionNote_Desc_ViewModel.SpellCheck(Object parameter)
   at ChildCare.RelayCommand.Execute(Object parameter)
   at Telerik.Windows.Controls.RadButton.ExecuteCommand()
   at Telerik.Windows.Controls.RadButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

I cannot find any help with this.

I was able to remove the add to dictionary button, is there a way you can run the RadSpellChecker without using a custom dictionary?

4 Answers, 1 is accepted

Sort by
0
Andrew
Telerik team
answered on 17 Apr 2012, 10:57 AM
Hi Rick,

One of the problems that may cause this behavior on your server is that the Isolated Storage on your development server is not enabled. You can verify that by right clicking anywhere on the Silverlight plug-in and select Silverlight. Then, go to the "Application Storage" tab and ensure that the "Enable application storage" check box is checked.
On the other hand you can use RadNonPersistentCustomDictionary class instead of RadIsolatedStorageCustomDictionary to store custom dictionaries. You can achieve that by getting the appropriate DocumentSpellChecker object and replacing the custom dictionary for the selected culture with one that doesn't use Isolated Storage.

((DocumentSpellChecker)this.radRichTextBox1.SpellChecker).AddCustomDictionary(new RadNonPersistentCustomDictionary(), new CultureInfo("en-US"));

Please try this and get back to us if you meet any other difficulties. All the best,
Andrew
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rick
Top achievements
Rank 1
answered on 19 Apr 2012, 07:06 PM
Thanks for your suggestions. I tried the RadNonPersistentCustomDictionary class and received the same error message. I tried messing with Isolated Storage to see what was happening with that and while it worked on local host it appears not to work on the development server. I have no control over the network so I am thinking that there is some setting that the network people have locked down. I am going to keep trying to figure this one out. Hopefully one day I will get an error message that will let me know what exactly is happening or not happening in my case.
0
Rick
Top achievements
Rank 1
answered on 19 Apr 2012, 07:53 PM
Finally figured it out. The IE that I was using to access the development server was in "In Private" mode which limits access to client resources. Once I used a normal IE session it worked fine. Just like Daddy Rosanadana used to always say "It is always something".
0
Andrew
Telerik team
answered on 20 Apr 2012, 09:45 AM
Hi Rick,

We are glad you managed to resolve the issue. If you find any other difficulties, contact us again.

Kind regards,
Andrew
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
SpellChecker
Asked by
Rick
Top achievements
Rank 1
Answers by
Andrew
Telerik team
Rick
Top achievements
Rank 1
Share this question
or