Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization

  •  05-05-2009, 10:36 AM

    Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization

    Can anyone please help with another error we have found with our implementation of cute chat?
     
    When trying to access the Bad Words page from the link in the left hand navigation of the Admin page we get the above error, which comes from the following code; 
     
    When clicking on the link to http://www.domain.com/CuteSoft_Client/CuteChat/ChatAdmin/BadWords.aspx which is held on the page; http://www.domain.com/CuteSoft_Client/CuteChat/ChatAdmin/Default.aspx
     
    We get the following error: 
     
    Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization
     
    Line 19: void BindGrid()
    Line 20: {
    Line 21:    DataGrid1.DataSource=ChatApi.GetBadWords();
    Line 22:    DataGrid1.DataBind();
    Line 23: }
     
    Source File: ...\cutesoft_client\cutechat\chatadmin\BadWords.aspx   Line 21
     
     
    Any help would be much appreciated.
     
     
    Thanks,
     
    James

     
     
     
     
     
View Complete Thread