CuteEditor problems, different FilesPath. Don't you answer e-mails?

Last post 11-25-2005, 5:24 AM by DanielBws. 8 replies.
Sort Posts: Previous Next
  •  11-24-2005, 5:36 AM 12975

    CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Hi.

    I’m trying to configure our CuteEditor. 
    According to my customized config file, the editor ought to look something like this:


     

    However, when about to implement the editor into our website I modified the filesPath directory (and finally got that to work without any errors), and now the CuteEditor looks like this:


     

    When clicking, for example, the Table button to insert a table, the popup tells me there is a configuration error and shows me the CuteEditor web.config file with the first jpeg add path highlighted with red.
     
    From what I can interpret, the paths in the web.config file needs to be changed, like I did with the filespath property for the control, but I wonder how and where.

    If the line looks like this, then where EXACTLY should I add the altered path? Before *.jpeg? Before “CuteEditor.Impl..”? Before “,CuteEditor”?
     
    <add path="*.jpeg" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,CuteEditor" />
     
     
    Thank you for any kind of assistance.
     
     
    Regards,
    Daniel Heddelin
    Bilia Web Services

  •  11-24-2005, 10:53 AM 12989 in reply to 12975

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Daniel,

    Your default configuration should be:

    yoursite\bin
    yoursite\CuteSoft_Client\CueEditor.

    If you rename "CuteSoft_Client\CueEditor" to "Test" and modify the Editor.FilesPath property to Editor.FilesPath = "~/test".

    It should work automatically.

    However, if you create a virtual directory which points to the CuteEditor client file folder (for example ~/test) then modify the Editor.FilesPath property to Editor.FilesPath = "~/test", you will receive the above error.

    Here is the solution:

    1. Create a bin folder under "~/test"

    2. Copy CuteEditor.dll and CuteEditor.lic into the bin folder.

    That should resolve your problems.

    Keep me posted







    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-24-2005, 11:10 AM 12993 in reply to 12989

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    I know that you want CuteEditor to be put directly under the project folder, but we need it to be placed elsewhere.

    This is what the declaration looks like:
    <CE:Editor ConfigurationPath = "/Data/CuteSoft_Client/CuteEditor/Configuration/myconfig.config" FilesPath = "/Data/CuteSoft_Client/CuteEditor/" AutoConfigure = "none" id = "WhateverInfo" runat = "server" />

    The dll and lic are located in "/myProject/bin", which kind of has to be correct since the CuteEditor appears at all, plus I have tried placing the dll and lic in several different locations now in case that actually was the problem. None of which have resolved the graphic bug shown above.

    Something else has to be the fault, but I can't figure out what. CuteEditor has to be able to work in another directory than directly in the project root.

    Regards,
    Daniel
  •  11-24-2005, 11:18 AM 12994 in reply to 12993

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Daniel,

    Try copy the bin folder to FilesPath = "/Data/ directory.

    Because CuteEditor client files need read many informations from the CuteEditor.dll in runtime.

    If you put the CuteEditor client files into a separate virtual directory, you need to copy the CuteEditor.dll into the bin folder of the new virtual directory then make sure the CuteEditor client files has access to the CuteEditor.dll.

    Keep me posted



     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-25-2005, 2:11 AM 13014 in reply to 12994

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Thanks for the swift replies.

    I'm afraid that's not the solution I'm looking for. like I said, "I have tried placing the dll and lic in several different locations now in case that actually was the problem. None of which have resolved the graphic bug shown above.".

    The error window appearing when clicking e.g. the Insert Table button complains about a Configuration error in CuteEditors web.config, where the shortcuts to the jpeg's and such are stored. Is that because CuteEditor is having trouble locating the CuteEditor.dll, or do these shortcuts need to be changed like I did with the FilesPath property? In that case, where do I put the new shortcut?

    /Daniel
  •  11-25-2005, 3:16 AM 13017 in reply to 13014

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Daniel,
     
    It looks like it is because CuteEditor is having trouble locating the CuteEditor.dll.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-25-2005, 3:40 AM 13018 in reply to 13017

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    I have now put the dll in every imaginable folder just to be absolutely sure that is not the problem, and it did not help.

    Another funny thing is that my CuteEditor looks like this in IE:



    But like this in FireFox:



    However, you can't enter text at all using firefox, most things are disabled.

    A third interesting thing is that when i remove the CuteEditor.dll from the location it was originally, the page won't load at all. So I am rather sure the application has found, and use, the right dll the whole time.

    /Daniel
  •  11-25-2005, 3:48 AM 13019 in reply to 13018

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    Daniel,
     
    The CuteEditor.dll has been found by your aspx pages. But the CuteEditor client files still can't find the DLL.

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-25-2005, 5:24 AM 13020 in reply to 13019

    Re: CuteEditor problems, different FilesPath. Don't you answer e-mails?

    The problem has been solved.

    The CuteEditor.dll and .lic are located in wwwroot/theProject/bin, like they have been all the time.

    I also placed the CuteEditor.dll in wwwroot/bin, and now it works.
View as RSS news feed in XML