Message Log stops working and errors folder contains this message

Last post 11-29-2007, 11:03 AM by Gerard. 3 replies.
Sort Posts: Previous Next
  •  11-22-2007, 8:19 AM 35301

    Message Log stops working and errors folder contains this message

    Hi,
     
    Suddenly the log stopped working on our demonstration copy of CuteChat. The error log has a number of messages like the one shown below.
     
    Can you let me know what has happened?
     
    Thanks
     
    Gerard

     
    System.Data.SqlClient.SqlException: String or binary data would be truncated.
    The statement has been terminated.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at CuteChat.SqlServerDataProvider.LogMessage(ChatPlace place, ChatIdentity sender, ChatIdentity target, Boolean whisper, String text, String html)
       at CuteChat.ChatDataManager.b.Process(IChatDataProvider provider)
       at CuteChat.ChatDataManager.Maintain()
  •  11-22-2007, 9:52 AM 35304 in reply to 35301

    Re: Message Log stops working and errors folder contains this message

    The length of the nvarchar columns of table CuteChat4_LogMessage is too small.
     
    So , please modify it to more using SqlServer Enterprise Manager.
     
    Regards , Terry .
  •  11-22-2007, 10:39 AM 35306 in reply to 35301

    Re: Message Log stops working and errors folder contains this message

    Gerard,
     
    We've updated the SQL Script file to fix this issue. You can download the control again or fix it manually using enterprise manager.
     
    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-29-2007, 11:03 AM 35517 in reply to 35306

    Re: Message Log stops working and errors folder contains this message

    Hi Adam,
     
    Thanks for updating the download. We updated the table using SQL Server Management Studio and that cured the problem.
     
     
    Gerard
     
View as RSS news feed in XML