Server Error in '/di' Application.

Connection unexpectedly terminated

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: Connection unexpectedly terminated

Source Error:

Line 130:            adp = this.Provider.createDataAdapter(command);
Line 131: this.Provider.open();
Line 132: adp.Fill(ds);
Line 133:
Line 134: if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0)

Source File: d:\hosting\bobito20\di\App_Code\Daily\Data\Map\SqlDataMap.cs    Line: 132

Stack Trace:

[MySqlException: Connection unexpectedly terminated]
MySql.Data.MySqlClient.PacketReader.ReadHeader() +283
MySql.Data.MySqlClient.PacketReader.OpenPacket() +119
MySql.Data.MySqlClient.NativeDriver.ReadResult (Int64& affectedRows, Int64& lastInsertId) +17
MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst) +67
MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) +131
MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) +391
MySql.Data.MySqlClient.MySqlDataReader.NextResult() +270
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +203
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() +6
MySql.Data.MySqlClient.StoredProcedure.GetRoutineType(String& spName) +390
MySql.Data.MySqlClient.StoredProcedure.GetProcedureBody(String spName, String& sql_mode, Boolean& isFunc) +50
MySql.Data.MySqlClient.StoredProcedure.DiscoverParameters(String spName) +31
MySql.Data.MySqlClient.ProcedureCache.AddNew(MySqlConnection connection, String spName) +79
MySql.Data.MySqlClient.ProcedureCache.GetProcedure (MySqlConnection conn, String spName) +233
MySql.Data.MySqlClient.StoredProcedure.Prepare(MySqlCommand cmd) +93

[MySqlException: Exception during execution of 'spdailypick_bydate_r': Connection unexpectedly terminated]
MySql.Data.MySqlClient.StoredProcedure.Prepare(MySqlCommand cmd) +1269
MySql.Data.MySqlClient.MySqlCommand.PrepareSqlBuffers(String sql) +249
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +175
MySql.Data.MySqlClient.MySqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +4
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +86
Daily.Data.Map.SqlDataMap.findFirst(IDbCommand command) in d:\hosting\bobito20\di\App_Code\Daily\Data\Map\SqlDataMap.cs:132
Daily.Data.Map.DailyPickMap.findTodaysPick() in d:\hosting\bobito20\di\App_Code\Daily\Data\Map\DailyPickMap.cs:51
Daily.Web.UI.Home.showPick() in d:\hosting\bobito20\di\Home.aspx.cs:53
Daily.Web.UI.Home.Page_Load(Object sender, EventArgs e) in d:\hosting\bobito20\di\Home.aspx.cs:40
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive () +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210