Server Error in '/' Application.

Unable to connect to any of the specified MySQL hosts.

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: Unable to connect to any of the specified MySQL hosts.

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 (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.NativeDriver.Open() +1153
   MySql.Data.MySqlClient.Driver.Open() +22
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +239
   MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() +11
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +286
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +93
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +65
   MySql.Data.MySqlClient.MySqlConnection.Open() +629
   SubSonic.MySqlDataProvider.CreateConnection(String newConnectionString) +37
   SubSonic.MySqlDataProvider.CreateConnection() +24
   SubSonic.AutomaticConnectionScope..ctor(DataProvider provider) +59
   SubSonic.MySqlDataProvider.GetReader(QueryCommand qry) +48
   SubSonic.DataService.GetReader(QueryCommand cmd) +25
   SubSonic.SqlQuery.ExecuteReader() +33

[SqlQueryException: Unable to connect to any of the specified MySQL hosts.]
   SubSonic.SqlQuery.ExecuteReader() +50
   SubSonic.SqlQuery.ExecuteSingle() +41
   ApplicationLib.Services.LanguageService.Get(String IdLanguage) in C:\WORK\Marco\ZENN\Websites\psaplast\Psaplast\ApplicationLib\Services\LanguageService.cs:15
   ZCms.Language.OnBeginRequest(Object o, EventArgs args) in C:\WORK\Marco\ZENN\Websites\psaplast\Psaplast\ZCms\Utilities\Language.cs:47
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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