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:


Line 30: 
Line 31:         Dim dr As MySqlDataReader
Line 32:         dr = d.ExecuteReader
Line 33:         ' dd_kategoriler.Items.Clear()
Line 34:         Dim str As String = ""

Source File: D:\vhosts\tvolaf.org.tr\ankara.tvolaf.org.tr\Default.aspx.vb    Line: 32

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.GetChararcterSet(DBVersion version, String CharSetName) +38
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData41() +581
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData() +39
   MySql.Data.MySqlClient.NativeDriver.ReadColumnMetadata(Int32 count) +39
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +272
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +675
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() +6
   _Default.mansetler() in D:\vhosts\tvolaf.org.tr\ankara.tvolaf.org.tr\Default.aspx.vb:32
   _Default._Default_Load(Object sender, EventArgs e) in D:\vhosts\tvolaf.org.tr\ankara.tvolaf.org.tr\Default.aspx.vb:14
   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