Trouble with Installing for Multiple Sites on Same Server

Last post 11-28-2005, 10:59 AM by ccrookston. 18 replies.
Sort Posts: Previous Next
  •  11-22-2005, 3:30 PM 12873

    Trouble with Installing for Multiple Sites on Same Server

    I have found a couple of other posts wich are very similar but yet do not address my trouble exactly.

    here is my configuration.  We have multiple sites located at:

    D:/Inetpub/WWWRoot/MyCompany/client1/
    D:/Inetpub/WWWRoot/MyCompany/client2/
    D:/Inetpub/WWWRoot/MyCompany/client3/

    etc. Each of whom would like to use the editor.  We want only ONE instance of the /bin/ and /CuteSoft_Client/ directories.  According to what I have read on other posts:

    http://www.cutesoft.net/forums/9563/ShowPost.aspx

    I should be able to install the two directories as follows:

    D:/Inetpub/WWWRoot/bin/ and
    D:/Inetpub/WWWRoot/CuteSoft_Client/

    and it should work for all of the sites.  Correct?

    OR - and I confess I don't fully understand virtual directories in IIS - I should be able to install them here:

    D:/Inetpub/WWWRoot/MyCompany/bin/ and
    D:/Inetpub/WWWRoot/MyCompany/CuteSoft_Client/

    and then use the following declaration in each instance of the editor:

    <CE:Editor FilesPath="/CompleteConsulting" ...

    and that should work.  But - NEITHER are working.

    I DO have the editor working for two clients, but in each case the directories are duplicated, first inside of:

    D:/Inetpub/WWWRoot/MyCompany/client1/ and then again inside:
    D:/Inetpub/WWWRoot/MyCompany/client2/

    So my question is simple.  How do I configure the install and the FilesPath= so that I do not have to replicate directories.

    Thank you!

    Casey


  •  11-22-2005, 5:37 PM 12885 in reply to 12873

    Re: Trouble with Installing for Multiple Sites on Same Server

    Just as an FYI: here's what I have tried now...

    I created an actual directory at:

    D:\Inetpub\WWWRoot\CuteEditor_NET

    and inside of it are:

    D:\Inetpub\WWWRoot\CuteEditor_NET\bin     and
    D:\Inetpub\WWWRoot\CuteEditor_NET\CuteEditor

    Then I created a virtual directory and pointed it at:

    D:\Inetpub\WWWRoot\CuteEditor_NET\

    And I referenced this directory in the actual editor as such:

    <CE:Editor FilesPath="/CuteEditor_NET"

    Here is the error:



    So, I'm thinking i just need to adjust the FilesPath="/CuteEditor_NET" so it can find default.config.  I'll spare you the time reading more and looking at  the extra image... that didn't work either.

    Thank you!!!
  •  11-22-2005, 5:37 PM 12886 in reply to 12873

    Re: Trouble with Installing for Multiple Sites on Same Server

    Casey,
    Solution:

    1. You have three sites. You can install one instance of the /bin/ and /CuteSoft_Client/ directories on one site.
     
    D:/Inetpub/WWWRoot/MyCompany/client1/bin/
    D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/
    D:/Inetpub/WWWRoot/MyCompany/client2/
    D:/Inetpub/WWWRoot/MyCompany/client3/

    The above setting will allow you run CuteEditor on client 1 site.

    2. In the client 2 and client 3 site,  you need to create two virtual directories.
     
    create a virtual directory (CuteSoft_Client) and point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).
    create a virtual directory (Bin) point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).

    That will resolve your problem.

    The following thead will help as well:

    http://www.cutesoft.net/forums/3974/ShowPost.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

  •  11-22-2005, 5:59 PM 12887 in reply to 12886

    Re: Trouble with Installing for Multiple Sites on Same Server

    Thank you Adam for your help!

    I made the virtual directories as you explained.  I assumed at first that you meant to say:

    create a virtual directory (CuteSoft_Client) and point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).
    create a virtual directory (Bin) point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/Bin/).

    instead of:

    create a virtual directory (CuteSoft_Client) and point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).
    create a virtual directory (Bin) point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).

    And I got an error.  So then I adjusted the second virtul directory exactly as you stated, and I get the same error:

    ~~~~~~~~~~~~~~~

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: File or assembly name CuteEditor.ImageEditor, or one of its dependencies, was not found.

    Source Error:

    Line 256:                <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 258: <add assembly="*"/>
    Line 259: </assemblies>
    Line 260:


    Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config    Line: 258

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CuteEditor.ImageEditor' could not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = CuteEditor.ImageEditor
    (Partial)
    LOG: Appbase = file:///D:/Inetpub/WWWRoot/CompleteConsulting/www.cb-sisco.com
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: CuteEditor.ImageEditor
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/563f9bf4/9d98ce29/CuteEditor.ImageEditor.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/563f9bf4/9d98ce29/CuteEditor.ImageEditor/CuteEditor.ImageEditor.DLL.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/xxx/client2/bin/CuteEditor.ImageEditor.DLL.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/xxx/client2/bin/CuteEditor.ImageEditor/CuteEditor.ImageEditor.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/563f9bf4/9d98ce29/CuteEditor.ImageEditor.EXE.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/563f9bf4/9d98ce29/CuteEditor.ImageEditor/CuteEditor.ImageEditor.EXE.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/xxxxxx/client2/bin/CuteEditor.ImageEditor.EXE.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/xxx/client2/bin/CuteEditor.ImageEditor/CuteEditor.ImageEditor.EXE.

  •  11-22-2005, 6:00 PM 12888 in reply to 12887

    Re: Trouble with Installing for Multiple Sites on Same Server

    Also, do I still need "<CE:Editor FilesPath="/virtualDirectory" ..." in the subsequent instances of the editor?

    Thanks,

    Casey
  •  11-22-2005, 6:05 PM 12890 in reply to 12888

    Re: Trouble with Installing for Multiple Sites on Same Server

    Casey,
     
    It should be:
     
    Create a virtual directory (CuteSoft_Client) and point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/).
    create a virtual directory (Bin) point it to the location (D:/Inetpub/WWWRoot/MyCompany/client1/Bin/).

    If you create the virtual directory and name it "CuteSoft_Client", you don't need to specify the FilesPath property.

     

    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-22-2005, 6:26 PM 12891 in reply to 12890

    Re: Trouble with Installing for Multiple Sites on Same Server

    Adam,

    Again - thank you.  I created the directories like this:

    D:/Inetpub/WWWRoot/MyCompany/client1/bin/
    D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/
    D:/Inetpub/WWWRoot/MyCompany/client2/bin/
    D:/Inetpub/WWWRoot/MyCompany/client2/CuteSoft_Client/

    Where "bin" at "client1/bin" and "
    CuteSoft_Client" at "client1/CuteSoft_Client/" are actual directories. The editor for client1 works perfectly.

    But,
    "bin" at "client2/bin" and "CuteSoft_Client" at "client2/CuteSoft_Client/" are VIRTUAL directories which point to their twins in client1.  The editor for client2 responds just as if the directories did not exist and errors out.

    ??

    Again Adam - thank you for your help!
     
  •  11-22-2005, 7:10 PM 12893 in reply to 12891

    Re: Trouble with Installing for Multiple Sites on Same Server

  •  11-22-2005, 7:41 PM 12895 in reply to 12893

    Re: Trouble with Installing for Multiple Sites on Same Server


    I'm fairly sure they are created correctly.  Here's a quick screen shot I put together.


  •  11-23-2005, 8:28 AM 12915 in reply to 12895

    Re: Trouble with Installing for Multiple Sites on Same Server

    Any ideas?
  •  11-23-2005, 1:53 PM 12941 in reply to 12915

    Re: Trouble with Installing for Multiple Sites on Same Server

    PLEASE !!
  •  11-23-2005, 2:11 PM 12942 in reply to 12941

    Re: Trouble with Installing for Multiple Sites on Same Server

  •  11-23-2005, 4:51 PM 12956 in reply to 12942

    Re: Trouble with Installing for Multiple Sites on Same Server

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: File or assembly name CuteEditor, or one of its dependencies, was not found.

    Source Error:

    Line 2:  <%@ Import Namespace="System.Data.SqlClient" %>
    Line 3: <%@ Import Namespace="System.IO" %>
    Line 4: <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    Line 5: <script runat="server">
    Line 6: Public Sub Page_Load(sender As object, e As System.EventArgs)

    Source File: D:\Inetpub\WWWRoot\myCompany\client2\Construction\cms-backdoor\edit.aspx    Line: 4

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CuteEditor' could not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = CuteEditor
    (Partial)
    LOG: Appbase = file:///D:/Inetpub/WWWRoot/myCompany/client2/Construction
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: CuteEditor
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/be9a0177/e2ac9860/CuteEditor.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/be9a0177/e2ac9860/CuteEditor/CuteEditor.DLL.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/myCompany/client2/Construction/bin/CuteEditor.DLL.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/myCompany/client2/Construction/bin/CuteEditor/CuteEditor.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/be9a0177/e2ac9860/CuteEditor.EXE.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/be9a0177/e2ac9860/CuteEditor/CuteEditor.EXE.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/myCompany/client2/Construction/bin/CuteEditor.EXE.
    LOG: Attempting download of new URL file:///D:/Inetpub/WWWRoot/myCompany/client2/Construction/bin/CuteEditor/CuteEditor.EXE.


    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
  •  11-23-2005, 5:07 PM 12958 in reply to 12956

    Re: Trouble with Installing for Multiple Sites on Same Server

    Casey,

    Sorry, the bin folder can't be a virtual directory.

    Either in the GAC or in the /bin directory.

    Inetpub/WWWRoot/myCompany/client2/bin/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-23-2005, 6:11 PM 12959 in reply to 12958

    Re: Trouble with Installing for Multiple Sites on Same Server

    Thanks Adam.  I'm done for the Holiday weekend.  I'll try this solution Monday morning and let you know.
  •  11-25-2005, 4:26 PM 13037 in reply to 12959

    Re: Trouble with Installing for Multiple Sites on Same Server

    If you still have problems, try put CuteEditor.dll under  D:/Inetpub/WWWRoot/MyCompany/client1/CuteSoft_Client/bin/
     
    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-28-2005, 10:32 AM 13138 in reply to 12959

    Re: Trouble with Installing for Multiple Sites on Same Server

    Ok, we are making progress. I am now using the actual bin directory instead of a virtual directory, and the CuteSoft_Client directory is virtual and pointing to the other client location.

    The editor no longer errors out, but it's not working right either.  The first problem is that the custom tool bar I made displays all wrong with big gaps between rows of buttons, and the second problem is that the content does not load!!

    Note that when I switch back to using the actual CuteSoft_Client directory instead of the virtual one, the tool bar displays properly and the content loads as it should.

    Any ideas?
  •  11-28-2005, 10:44 AM 13140 in reply to 13138

    Re: Trouble with Installing for Multiple Sites on Same Server

    I saw your last post after I posted ther message above.  Do you mean to copy the entire bin directory into the CuteSoft_Client directory?  I did that, and it solved the problem of the tool bar being all messed up but the content still does not load.
  •  11-28-2005, 10:59 AM 13141 in reply to 13140

    Re: Trouble with Installing for Multiple Sites on Same Server

    Hmm - okay.  The content not loading seems to be only an issue in FireFox.  It loads just fine in IE.  Have you seen this before?  The good news is that the install is now working fine in IE.

    Wahoo!!
View as RSS news feed in XML