Server Error in '/' Application.

Expected end of data packet

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: MySql.Data.MySqlClient.MySqlException: Expected end of data packet

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[MySqlException (0x80004005): Expected end of data packet]
   MySql.Data.MySqlClient.NativeDriver.CheckEOF() +170
   MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns) +76
   MySql.Data.MySqlClient.Driver.GetColumns(Int32 count) +111
   MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols) +26
   MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols) +60
   MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) +173
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +435

[MySqlException (0x80004005): Fatal error encountered attempting to read the resultset.]
   KVKJalana.NewsSingle.loadnews(Int32 id) +322
   KVKJalana.NewsSingle.Page_Load(Object sender, EventArgs e) +184
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0