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

Last post 05-11-2009, 12:34 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  05-05-2009, 10:36 AM 51820

    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

     
     
     
     
     
  •  05-11-2009, 12:34 PM 52048 in reply to 51820

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

    Hi James,
     
    Please open table 'CuteChatBadWord' in SQL Server Enterprise Manager clean all rows of this table and try again.
     
    Regards,
     
    Ken
View as RSS news feed in XML