Error when loading control

  •  08-08-2006, 1:28 PM

    Error when loading control

    I am successfully using the latest version of the cuteeditor in a number of other pages (i am migrating to 5.3). On one of my pages I get the following error when the control tries to load - any ideas?
    Thanks
     

    Value cannot be null. Parameter name: value

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: value

    Source Error:

    Line 6:      <asp:literal id=litSpellCheckName runat=server></asp:literal>
                Line 7:      </script>
                Line 8:  </div><CE:Editor  AutoConfigure="None" id="ctlRichTextBox" runat="server" width="100%" height="250" />
                Line 9:  <%= showSpellingButton ? "<a href='BLOCKED SCRIPTrunSpellCheckEditor();'>Check Spelling</a>" : "" %>
                Line 10: 	<div style="display:none">

    Source File: C:\manciaux\AgentAchieveSolution\AgentAchieve\controls\SERichText.ascx    Line: 8

    Stack Trace:

    [ArgumentNullException: Value cannot be null.
                Parameter name: value]
                System.IO.BinaryWriter.Write(String value) +316
                CuteEditor.EditorSetting.Save(Stream stream) +253
                CuteEditor.EditorSetting.c() +65
                CuteEditor.Impl.ResourceContext.LoadResources(HttpContext context, Editor editor, CultureInfo culture) +405
                CuteEditor.a.a() +114
                CuteEditor.a.j(HtmlTextWriter A_0) +45
                CuteEditor.a.i(HtmlTextWriter A_0) +94
                CuteEditor.a.k(HtmlTextWriter A_0) +57
                CuteEditor.Editor.Render(HtmlTextWriter writer) +43
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                ASP.SERichText_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in C:\manciaux\AgentAchieveSolution\AgentAchieve\controls\SERichText.ascx:8
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
                System.Web.UI.Control.Render(HtmlTextWriter writer) +7
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.Control.Render(HtmlTextWriter writer) +7
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
                System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +260
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.Control.Render(HtmlTextWriter writer) +7
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Page.ProcessRequestMain() +1926
                
View Complete Thread