Re: Loadbalancing

  •  06-05-2008, 11:34 AM

    Re: Loadbalancing

     

    Hello Karen.

    I read your answer to Mr Cipriani, my job-colleague,

    and I tryed to test UnicuteChat in an isolated environment described as follow:

    *****************************************************

    **** UnicuteChat Server Side installation and configuration ****

    *****************************************************

    - Server name “unicutechatsrv”

    - Windows 2003 Server, Enterprise Edition, Service Pack 2, English Language

    - IIS, version 6.0

    - Asp.net, version 2.0.50727

    - UniCuteChat-WebApplication, version 4.1, installed as follow:

     on a virtual dir named "UniCuteChat",

     with dedicated application pool named "UniCuteChatPool" wich has assigned only UniCuteChat-WebApplication,

     in a web site named "UniCuteChatWebSite" containing only "UniCuteChat" virtual dir.

                     

    - UniCuteChat-WebApplication, version 4.1, configured as follow (“web.config” file content):

    <?xml version="1.0"?>

    <configuration>

    <appSettings>

                                   <add key="ConnectionString" value="server=devserver;database=CuteChat4;uid=sa;pwd=cipr1an1" />

    <add key="OnlineTimeout" value="300" />

    <add key="CuteChat.NLB" value="mode=server;password=test123;" />

     </appSettings>

                    <system.web>

                                   <compilation defaultLanguage="c#" debug="true"/>

                                   <customErrors mode="Off"/>

                                   <authentication mode="Forms">

                                                   <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx"/>

                                   </authentication>

                                   <authorization>

                                                   <allow users="*"/>

                                   </authorization>

                                   <trace enabled="true"></trace>

                                   <sessionState mode="InProc" timeout="20"/>

                                   <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

                    </system.web>

    </configuration>

                 

    *****************************************************

    **** UnicuteChat Client Side installation and configuration ****

    *****************************************************

    - Windows XP Professional, version 2002, Service Pack 2, Italian Language

    - IIS, version 5.1

    - Asp.net, version 2.0.50727

    - UniCuteChat-WebApplication, version 4.1, installed as follow:

     on a virtual dir named "UniCuteChat" with a protection level “media pool”,

     in a web site containing other virtual dirs.

                     

    - UniCuteChat-WebApplication, version 4.1, configured as follow (web.config file content):

    <?xml version="1.0"?>

    <configuration>

                    <appSettings>

                                   <add key="CuteChat.NLB" value="mode=client;password=test123;url=http://unicutechatsrv/unicutechat/CuteSoft_Client/CuteChat/NLBService.ashx" />

                    </appSettings>

                    <system.web>

                                   <compilation defaultLanguage="c#" debug="true"/>

                                   <customErrors mode="Off"/>

                                   <authentication mode="Forms">

                                                   <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx"/>

                                   </authentication>

                                   <authorization>

                                                   <allow users="*"/>

                                   </authorization>

                                   <trace enabled="true"></trace>

                                   <sessionState mode="InProc" timeout="20"/>

                                   <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

                    </system.web>

    </configuration>

    ************************************

    **** UnicuteChat Load-Balancing Test ****

    ************************************

    In Internet Explore 7.0 of client machine we digit HTTP-URL:

    http://localhost/unicutechat/Chat.aspx

    obtaining error:

    general error message:

                    “Unable to get portal instance because current application is not cutechat server.”

     

    detailed exception-error message:

                    “System.Exception: Unable to get portal instance because current application is not cutechat server.”

     

    source-code error message in file:

    Source File:c:"Inetpub"wwwroot"UniCuteChat"chat.aspx”   

    Row Number: “55”

    Row Code: “foreach(LobbyInfo lobby in ChatApi.GetLobbyInfoArray())”

     

    *****************

    **** Questions ****

    *****************

    
    
    
    
    What do you think about the installation and configuration? Something has wrong?
    About load-balancing documentation, for server side installation, what does it mean “Deploy cute chat/messenger to the server which is running in single-process mode”? 
     
    Regards,
    Angelo
     
View Complete Thread