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:


Line 34: 		end if
Line 35: 		
Line 36:         Nexus.sqlOpen()
Line 37: 		
Line 38:         If validateCouncilURL() = False Then

Source File: C:\websites\architects.net.au\www\council.aspx    Line: 36

Stack Trace:


[MySqlException (0x80004005): Expected end of data packet]
   MySql.Data.MySqlClient.NativeDriver.CheckEOF() +172
   MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns) +84
   MySql.Data.MySqlClient.Driver.GetColumns(Int32 count) +125
   MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols) +34
   MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols) +63
   MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId) +179
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +150

[MySqlException (0x80004005): Fatal error encountered attempting to read the resultset.]
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +672
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1274

[MySqlException (0x80004005): Fatal error encountered during command execution.]
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +2015
   MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) +204
   MySql.Data.MySqlClient.MySqlConnection.Open() +685
   Nexus.sqlOpen() +166
   ASP.council_aspx.Page_Load(Object sender, EventArgs e) in C:\websites\architects.net.au\www\council.aspx:36
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974