Attempted to read past the end of the stream. (System.IO.EndOfStreamException)
MySqlCommand command = new MySqlCommand("CompetitiveSentimentDistributionByDate", connection); command.Connection = connection; command.CommandTimeout = 300; command.CommandType = CommandType.StoredProcedure; command.Parameters.AddWithValue("@countries", country); command.Parameters.AddWithValue("@gender", gender); command.Parameters.AddWithValue("@sources", source); command.Parameters.AddWithValue("@sentiments", sentiment); command.Parameters.AddWithValue("@startdate", sdate); command.Parameters.AddWithValue("@enddate", edate); command.Parameters.AddWithValue("@keywords", keyword); command.Parameters.AddWithValue("@tablename", TableName[t]); MySqlDataAdapter da = new MySqlDataAdapter(); da.SelectCommand = command; da.Fill(dtnew); dt.Merge(dtnew); dtnew.Clear();
Quote:MySQL Connector/NET did not throw an EndOfStreamException exception when net_write_timeout was exceeded. (Bug #53439)
Quote:It looks like it throws that when the timeout is exceeded. There is a bug fix about it NOT doing so, so if they fixed it, now it does. http://www.google.com/url?sa=t&source=web&cd=3&ved=0CCQQFjAC&url=http%3A%2F%2Fdownloads.mysql.com%2Fdocs%2Fconnector-net-en.a4.pdf&ei=isDvTdTDIcregQe-6NSVDw&usg=AFQjCNESAxTm9nhgXMGYvn1KrTnnGp0Wfg&sig2=xcHH3gp9XHm3nVuo-w2r7A
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)