1 2 3 4 5 6 7 8 |
Exception: System.Collections.Generic.KeyNotFoundException Message : The given key was not present in the dictionary. Stack Trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at MySql.Data.MySqlClient.CharSetMap.GetCharacterSet(DBVersion version, String CharSetName) at MySql.Data.MySqlClient.CharSetMap.GetEncoding(DBVersion version, String CharSetName) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) |
Solution
UPGRADE your MYSQL DATA .DLL
M:Download >>>> MySql.Data.zip
http://dev.mysql.com/downloads/connector/net/5.1.html
For more look link given above
1 2 3 4 5 6 7 |
System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben. bei System.ThrowHelper.ThrowKeyNotFoundException() bei System.Collections.Generic.Dictionary`2.get_Item(TKey key) bei MySql.Data.MySqlClient.CharSetMap.GetCharacterSet(DBVersion version, String CharSetName) bei MySql.Data.MySqlClient.CharSetMap.GetEncoding(DBVersion version, String CharSetName) bei MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) bei MySql.Data.MySqlClient.MySqlConnection.Open() |