Problem with client files in virtual directory

Last post 07-06-2007, 10:39 PM by Adam. 18 replies.
Sort Posts: Previous Next
  •  04-25-2007, 2:37 AM 28800

    Problem with client files in virtual directory

    Hallo,
     
    because of having problems to exclude CuteSoft_Client folder from project (VS 2005, VB.NET 2.0), I want to put this folder in an virtual directory called "Editor". The physical path is "d:\tools\myWeb\CuteEditor" with Read and Script rights.
     
    As found in forum I add the following text to web.config / appSetting:
     
    <add key=''CuteEditorDefaultFilesPath'' value=''~/Editor'' />
     
    I also tried to put a "bin" folder inside with CuteEditor.dll.
     
    But I still get the error message: Could not find a part of the path 'D:\webroot\myWeb\Editor\Editor.cep'.
    But via http the files client files are available, so the virtual directory works.
     
    What's going wrong?
     
     
    Thanks in advance
     
    Martin
  •  04-25-2007, 11:22 AM 28821 in reply to 28800

    Re: Problem with client files in virtual directory

    Martin,
     
    We are investigating this issue and will post an update as soon as possible.
     
     

    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

  •  05-10-2007, 9:52 AM 29481 in reply to 28925

    Re: Problem with client files in virtual directory

    Did you ever fix this?  I'm facing the same problem for the same reasons - have to include the cuteditor files as a virtual directory so that VS2005 doesn't try to compile it every time and store it all in VSS.
     
    It's a real pain as I'm going to have to roll back to 5.3 until this is fixed - was really looking forward to using the AJAX functionality :-(
  •  06-07-2007, 10:02 AM 30485 in reply to 29481

    Re: Problem with client files in virtual directory

    Yea id like an update on this too, its now been 6 weeks since this was reported by the OP.
     
    I have found a work around that seems to be working at the moment though of copying the CuteSoft_Client folder into the web project too but deleting everything but the .cep files from it, but its hardly optimal and I may well find this doesnt properly work once I finish my testing.
  •  06-09-2007, 8:26 PM 30554 in reply to 30485

    Re: Problem with client files in virtual directory

    Anyone got that sorted?

    To eteach, to work around that you could work with a Web Application Project (aka old style .NET 2003 type project). You can get the VS2005 update to enable that here: http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

    Then you can right click on folders in your project and select to exclude them from the project.

    however, it still doesn't explain the issue. What I've found is that the editor completely misunderstands virtual directories.

    Ie
    Site1 is located on C:\web\site1\
    Site1 has a virtual directory called CuteSoft_Client that points to C:\web\shared\CuteSoft_Client\

    When trying to open a page that uses the editor, it causes the error:

    Could not find a part of the path 'C:\web\site1\CuteSoft_Client\Editor.cep'.

    That's wrong. It's assuming the CuteSoft_Client folder is a physical subfolder of the root folder and totally ignores the virtual directory concept.

    Can this be fixed quickly somehow?

    Ben
  •  06-11-2007, 3:30 AM 30562 in reply to 30554

    Re: Problem with client files in virtual directory

    Thanks for the suggestion but we cannot go down the Web Application Project route as that would require fundamentally changing our application in a way that would likely mean the rest would not operate correctly without even more modification just to workaround a bug in this one piece of software.
     
    This is pretty major if you ask me and should really be getting resolved asap, or at least certainly getting an update from the developers on how far they are away from a fix (or if they have even started looking into it yet).
  •  06-24-2007, 8:30 PM 31031 in reply to 30562

    Re: Problem with client files in virtual directory

    Adam - has there been any progress with this.  I am knee deep into a huge project and am nearing the due date, I've committed to your .net editor in hopes you'd resolve the virtual directory issue with visual studio 2005.
     
    Please give us an update, I would imagine this is an esay fix it works fine with v5.3
  •  06-25-2007, 7:15 AM 31038 in reply to 31031

    Re: Problem with client files in virtual directory

    I second that question.
  •  06-25-2007, 7:50 AM 31039 in reply to 31038

    Re: Problem with client files in virtual directory

    Yes Adam I am getting a little nervous.  I first contacted you about this in February and am really stuck between a rock and hard place.  I anticipated you'd have this fixed by now.
     
     
  •  06-25-2007, 10:36 AM 31057 in reply to 31039

    Re: Problem with client files in virtual directory

     
    I can revert back to v5.3 if the
    MaintainScrollPositionOnPostBack
     
    issue gets resolved.  When using that feature w/ v5.3 javapostback commands become disabled - so for instance clicking on a linkbutton does nothing.
     
    when I use v6.0 I HAVE to include the client files into the project (since virtual directories don't work) and then the project will not debug due to vs 2005 needing to minitor every file in the project
     
    I need one of the following to happen
     
     
    1. v5.3 to work correctly with maintainscrollpositiononpostback
     
    2. v6.0 to work correctly with virtual directories
     
     
    v5.3 works with virtual directories, v6.0 works with matianscrollpositiononpostback - please blend this together in one of the versions so I can move ahead.
     
    Adam, please help.  Believe it or not this is a huge problem for me - even a work around would be welcome at this point
  •  06-26-2007, 10:21 AM 31086 in reply to 31057

    Re: Problem with client files in virtual directory

    *bump*
     
    Adam, any news?  Sorry to be a pain but I need some help here.
  •  06-26-2007, 10:23 AM 31087 in reply to 31086

    Re: Problem with client files in virtual directory

    by the way I purchased the full blown license ($1400) and am planning on deploying a big application for our school as soon as this issue gets resolved.
     
     
  •  06-26-2007, 5:56 PM 31102 in reply to 31057

    Re: Problem with client files in virtual directory

    Solution:
     
    1. Download the latest build
     
    2. Copy the files under CuteEditor to the target directory.
     
    3. Map the directory in IIS as a virtual directory only (not application).
     
    4. Add the following entry into your web.config.
     
    <add key="CuteEditorDefaultFilesPath" value="~/editor" />
     

    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

  •  06-27-2007, 8:40 AM 31124 in reply to 31102

    Re: Problem with client files in virtual directory

    Adam,
     
    Is this the latest build? 
     
     
    The date on this is Nov 2006?
     
    Thanks
    Pat
     
  •  06-27-2007, 8:49 AM 31126 in reply to 31124

    Re: Problem with client files in virtual directory

    The date on this is Nov 2006?
     
    Yes this is what was confusing me as Adam described exactly the steps I did on the build I downloaded in April 07, and that doesn't work due to the bug in the editor as described in this thread.
  •  06-27-2007, 10:04 AM 31130 in reply to 31126

    Re: Problem with client files in virtual directory

    Adam,
     
    You are my hero.
     
    IT WORKS.
     
    Guys here's what I did.
     
     
    you'll notice the new .dll is 580 KB and dated June 27, 2007
     
    work with it in your project.
     
    Take the new client files and plop them into your virtual directory and create the virtual directory for the project in IIS.
     
    add this line to your web.config (I am working in vs 2005 and .NET v2) - my virtual directory is named "CuteSoft_Client" - the web.config entry tho needs to point to the "CuteEditor" root
     

    <appSettings>

    <add key="CuteEditorDefaultFilesPath" value="~/CuteSoft_Client/CuteEditor" />

    </appSettings>
     
     
     
     
  •  06-27-2007, 10:19 AM 31134 in reply to 31130

    Re: Problem with client files in virtual directory

    ok after some more testing everything looks good except for one issue - which is a very important one though.
     
    This command (new to .net 2.0)
     

    Page.MaintainScrollPositionOnPostBack = True

     
     
    is not working with this version of the editor
    Adam - please look at this and correct the issue so the page can maintain it's vertical postion after a postback when the cute editor is on the page.
     
    Thanks
    Pat
     
     
  •  06-27-2007, 10:36 AM 31138 in reply to 31124

    Re: Problem with client files in virtual directory

     
    Check this out for some help if need be: http://cutesoft.net/forums/31137/ShowThread.aspx#31137
     
    Thanks,
    Eric
  •  07-06-2007, 10:39 PM 31358 in reply to 31057

    Re: Problem with client files in virtual directory

    oompah:
     
    I can revert back to v5.3 if the
    MaintainScrollPositionOnPostBack
     
    issue gets resolved.  When using that feature w/ v5.3 javapostback commands become disabled - so for instance clicking on a linkbutton does nothing.
     
    when I use v6.0 I HAVE to include the client files into the project (since virtual directories don't work) and then the project will not debug due to vs 2005 needing to minitor every file in the project
     
    I need one of the following to happen
     
     
    1. v5.3 to work correctly with maintainscrollpositiononpostback
     
    2. v6.0 to work correctly with virtual directories
     
     
    v5.3 works with virtual directories, v6.0 works with matianscrollpositiononpostback - please blend this together in one of the versions so I can move ahead.
     
    Adam, please help.  Believe it or not this is a huge problem for me - even a work around would be welcome at this point
     

    This issue is resolved. Please download the latest build.

    Demo:

    http://richtextbox.com/test/MaintainScrollPositionOnPostback.aspx


    Download:

    http://cutesoft.net/downloads/default.aspx


     


    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

View as RSS news feed in XML