Server Error in '/' Application.

Character set 'utf8mb4' is not supported

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: Character set 'utf8mb4' is not supported

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:


[MySqlException: Character set 'utf8mb4' is not supported]
   MySql.Data.MySqlClient.CharSetMap.GetEncoding(DBVersion version, String CharSetName) +203
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData41() +932
   MySql.Data.MySqlClient.NativeDriver.GetFieldMetaData() +125
   MySql.Data.MySqlClient.NativeDriver.ReadFieldMetadata(Int32 count, MySqlField[]& fields) +103
   MySql.Data.MySqlClient.CommandResult.Load() +364
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +591
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +325
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() +38
   MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) +436
   MySql.Data.MySqlClient.MySqlConnection.Open() +377
   Document.GetStat() +178
   Document_Actions_Control.Page_Load(Object sender, EventArgs e) +201
   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.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.BasePartialCachingControl.LoadRecursive() +45
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062