Error when setting any of the paths - Please help

  •  01-12-2005, 12:19 AM

    Error when setting any of the paths - Please help

    When I set any of the paths in code-behind - I get the following error.  The paths exist - and the permission has read/write permisson to the directory.  Can someone provide some help.

    I tried 2 methods:

    1.
    Editor1.Setting("security:ImageGalleryPath") = context.Items("Common.ImageURL")
    Editor1.Setting("security:FilesGallaryPath") = context.Items("Common.AttachURL")


    2. SetPathFunctions:
    Editor1.SetSecurityImageGallaryPath(context.Items("Common.ImageURL"))
    Editor1.SetSecurityFlashGalleryPath(context.Items("Common.ImageURL"))
    Editor1.SetSecurityFilesGallaryPath(context.Items("Common.AttachURL"))
    Editor1.SetSecurityMediaGalleryPath(context.Items("Common.ImageURL"))


    Error: Error executing child request for /HWS_Standard.aspx.
    at System.IO.BinaryWriter.Write(String value) at CuteEditor.EditorSetting.Save(Stream stream) at CuteEditor.EditorSetting.Prepair() at CuteEditor.Impl.ResourceContext.LoadResources(HttpContext context, Editor editor, CultureInfo culture) at CuteEditor.EditorManager.LoadTexts() at CuteEditor.EditorManager.GetResourceText(String resname) at CuteEditor.EditorManager.get_ColorPickerUrl() at CuteEditor.EditorManager.CreateForeColor(String clientid) at CuteEditor.EditorManager.InsertToolBarItem(ConfigItem toolbarItem, Boolean brich) at CuteEditor.EditorManager.Initialize() at CuteEditor.Editor.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain()

    regards,
    Dave
     
    p.s. - Nice work on the latest version - it is much more usuable.
View Complete Thread