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.Collections.Generic.Dictionary`2.get_Item(TKey key) +13029779
   MySql.Data.MySqlClient.CharSetMap.GetCharacterSet(DBVersion version, String CharSetName) +23
   MySql.Data.MySqlClient.MySqlField.SetFieldEncoding() +200
   MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field) +356
   MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns) +34
   MySql.Data.MySqlClient.Driver.GetColumns(Int32 count) +88
   MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols) +22
   MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols) +53
   MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) +148
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +365
   MySql.Data.MySqlClient.MySqlDataReader.Close() +85
   MySql.Data.MySqlClient.MySqlCommand.ResetReader() +45
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1435
   MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +12
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +140
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +111
   MySql.Data.MySqlClient.ISSchemaProvider.GetTable(String sql) +64
   MySql.Data.MySqlClient.ISSchemaProvider.Query(String table_name, String initial_where, String[] keys, String[] values) +159
   MySql.Data.MySqlClient.ISSchemaProvider.GetProcedures(String[] restrictions) +209
   MySql.Data.MySqlClient.ISSchemaProvider.GetSchemaInternal(String collection, String[] restrictions) +168
   MySql.Data.MySqlClient.SchemaProvider.GetSchema(String collection, String[] restrictions) +56
   MySql.Data.MySqlClient.MySqlConnection.GetSchema(String collectionName, String[] restrictionValues) +63
   MySql.Data.MySqlClient.ProcedureCache.GetProcData(MySqlConnection connection, String spName) +190
   MySql.Data.MySqlClient.ProcedureCache.AddNew(MySqlConnection connection, String spName) +38
   MySql.Data.MySqlClient.ProcedureCache.GetProcedure(MySqlConnection conn, String spName, String cacheKey) +222
   MySql.Data.MySqlClient.StoredProcedure.GetParameters(String procName, DataTable& proceduresTable, DataTable& parametersTable) +88
   MySql.Data.MySqlClient.StoredProcedure.CheckParameters(String spName) +81
   MySql.Data.MySqlClient.StoredProcedure.Resolve(Boolean preparing) +301
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +656
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() +6
   Icon.Core.Data.DataAccess.GetDataTableProcedureFromDataReader(String SQLStatement, MySqlParameter[] ParameterList) +435
   Icon.Bus.OneImageBanner.GetBannner() +60
   Icon.OneImage.AboutUs.GetRightImage() +65
   Icon.OneImage.AboutUs.Page_Load(Object sender, EventArgs e) +87
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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