Server Error in '/' Application.

No such host is known

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.Net.Sockets.SocketException: No such host is known

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:


[SocketException (0x2af9): No such host is known]
   System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult) +3007140
   System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult) +65
   System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) +47

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.<>c.<Open>b__40_0(Exception ex) +121
   System.AggregateException.Handle(Func`2 predicate) +76
   MySql.Data.MySqlClient.NativeDriver.Open() +2393
   MySql.Data.MySqlClient.Driver.Open() +63
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +323
   MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() +18
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +325
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +151
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +60
   MySql.Data.MySqlClient.MySqlConnection.Open() +1741
   BatmanAPI.Utility.UDatabase.DoesTableExist(String table) +386
   BatmanAPI.Utility.UGeneral.GetWebsiteIDfromURL(String url) +171
   Batman.Global.Application_BeginRequest(Object sender, EventArgs e) +195
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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