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.GetAddrInfo(String name) +6544478
   System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +106
   System.Net.Dns.GetHostEntry(String hostNameOrAddress) +109
   MySql.Data.Common.StreamCreator.GetDnsHostEntry(String hostname) +75

[Exception: Call to GetHostEntry failed after 00:00:00 while querying for hostname 'mysql.u8049829.fsdata.se': SocketErrorCode=HostNotFound, ErrorCode=11001, NativeErrorCode=11001.]
   MySql.Data.Common.StreamCreator.GetDnsHostEntry(String hostname) +349
   MySql.Data.Common.StreamCreator.GetHostEntry(String hostname) +36
   MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout) +73
   MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout) +204
   MySql.Data.MySqlClient.NativeDriver.Open() +349

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.NativeDriver.Open() +407
   MySql.Data.MySqlClient.Driver.Open() +22
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +208
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +287
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +93
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +65
   MySql.Data.MySqlClient.MySqlConnection.Open() +559
   DataDB.DB.NewDB(String connectionString, String providerName) +54
   DataDB.DB..ctor(String connectionStringName) +391
   DataDB.DB.New(String connectionStringName) +25
   AppBase.Core.Sys.NewDB() in J:\Dropbox\wbt\net4.0\AppBase4.0\AppCore\AppCore\Core\Sys.cs:68
   SajtCore.Routing.NavRoute.setup(RouteCollection routes) +82
   SajtWebit.RouteConfig.RegisterRoutes(RouteCollection routes) +73
   SajtWebit.MvcApplication.Application_Start() +241

[HttpException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9955261
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9969128
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254


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