Error trying to create a template - worked fine before I upgraded 6.0 to 6.2

  •  02-11-2009, 2:49 AM

    Error trying to create a template - worked fine before I upgraded 6.0 to 6.2

    Hi there, I recently upgraded CuteEditor to 6.2 (from 6.0) and I now cannot create a new template file by from the Insert Templates dialogue.  It shows a list of existing templates, and when I click Make Template, it asks for a filename (test.htm in this example) and then crashes.
     
    The error I'm getting is:
     
     System.Exception: file is not in directory!/applicationDirectory/ui/images/oxf/test.htm:~/ui/images/oxf/
       at CuteEditor.Impl.SecuritySetting.VerifyInDirectory(String filename, String indir)
       at ASP.outereditorfull_aspx.Page_Load(Object sender, EventArgs e) in http://localhost/applicationDirectory/CuteSoft_Client/CuteEditor/Dialogs/OuterEditorFull.aspx:line 81
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain()
     
    I'm setting the directory using:  .SetSecurityTemplateGalleryPath("C:\Inetpub\wwwroot\applicationDirectory\ui\images\oxf\")

    This used to work fine in 6.0, but now it doesn't - can you please tell me how to fix it asap?
     
    Many thanks
     
    Chris
View Complete Thread