Server Error in '/' Application.

The given key was not present in the dictionary.

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: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +28
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7670108
   MySql.Data.MySqlClient.CharSetMap.GetChararcterSet(DBVersion version, String CharSetName) +23
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData41() +623
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData() +53
   MySql.Data.MySqlClient.NativeDriver.ReadColumnMetadata(Int32 count) +39
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +289
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +682
   MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +115
   MySql.Data.MySqlClient.ISSchemaProvider.GetTable(String sql) +66
   MySql.Data.MySqlClient.ISSchemaProvider.Query(String table_name, String initial_where, String[] keys, String[] values) +183
   MySql.Data.MySqlClient.ISSchemaProvider.GetProcedures(String[] restrictions) +144
   MySql.Data.MySqlClient.ISSchemaProvider.GetSchemaInternal(String collection, String[] restrictions) +165
   MySql.Data.MySqlClient.SchemaProvider.GetSchema(String collection, String[] restrictions) +68
   MySql.Data.MySqlClient.MySqlConnection.GetSchema(String collectionName, String[] restrictionValues) +45
   MySql.Data.MySqlClient.StoredProcedure.GetParameters(String procName) +270
   MySql.Data.MySqlClient.StoredProcedure.Resolve() +128
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +477
   AsianHouse.DataLogic.Data.GetExhibitionDates() in C:\Users\jst\Documents\Projects\Codeplex\Asianhouse\asianhouse 2008\AsianHouse.DataLogic\Data.cs:695
   asianhouse.messer._default.Page_Load(Object sender, EventArgs e) in C:\Users\jst\Documents\Projects\Codeplex\Asianhouse\asianhouse 2008\asianhouse\messer\default.aspx.cs:17
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


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