Error when ren Cutechat V5 on load balacing

  •  10-23-2008, 1:49 AM

    Error when ren Cutechat V5 on load balacing

    hi!
    I'm deploy cutechat v5 on load balancing server ( CS2007) :

    Chat1 web.config:
    <add key="CuteChat.NLB" value="mode=server;password=test123;" />
     
    Chat2 web.config:
    <add key="CuteChat.NLB" value="mode=client;password=test123;url=http://chat1/CuteSoft_Client/CuteChat/NLBService.ashx" />
     


    but wen run cutechat forum client(Chat2) i show error (if I'm deploy single server it running normal ):

    Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.


    Stack Trace:


    &e1;SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.&e3;
       System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() +363
       System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +183
       System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +190
       CuteChat.ClusterSupport.ExecuteMethod(MethodInfo method, Object&e1;&e3; args) +307
       CuteChat.ClusterSupport.ExecuteCurrentMethod(Object&e1;&e3; args) +70
       CuteChat.ChatApi.GetLobbyInfoArray() +76
       ASP.themes_default_forums_grouplist_aspx.GetForumChatterNames(Object forumid) +22
       ASP.themes_default_forums_grouplist_aspx.__DataBind__control164(Object sender, EventArgs e) +322
       System.Web.UI.Control.OnDataBinding(EventArgs e) +99
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
       CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) +223
       CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) +504
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
       CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) +67
       System.Web.UI.WebControls.Repeater.DataBind() +72
       CommunityServer.Controls.WrappedRepeater.DataBind() +172
       CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() +32
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       CommunityServer.Controls.WrappedContentBase.DataBind() +172
       System.Web.UI.Control.DataBindChildren() +204
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
       System.Web.UI.Control.DataBind() +12
       System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
       CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) +223
       CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) +504
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
       CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) +67
       System.Web.UI.WebControls.Repeater.DataBind() +72
       CommunityServer.Controls.WrappedRepeater.DataBind() +172
       CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() +32
       CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +56
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

     


View Complete Thread