RadSpellChecker Deployment

5 posts, 0 answers
  1. Rick
    Rick avatar
    3 posts
    Member since:
    Jul 2011

    Posted 12 Apr 2012 Link to this post

    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?
  2. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 17 Apr 2012 Link to this post

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

  3. DevCraft banner
  4. Rick
    Rick avatar
    3 posts
    Member since:
    Jul 2011

    Posted 19 Apr 2012 Link to this post

    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.
  5. Rick
    Rick avatar
    3 posts
    Member since:
    Jul 2011

    Posted 19 Apr 2012 Link to this post

    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".
  6. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 20 Apr 2012 Link to this post

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

Back to Top
DevCraft banner