Can not login
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:
Line 139: }
Line 140:
Line 141: bool authenticated = btnet.Authenticate.check_password(user.Value, pw.Value);
Line 142:
Line 143: if (authenticated)
Source File: c:\inetpub\wwwroot\BTNet\default.aspx Line: 141
Stack Trace:
[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
MySql.Data.MySqlClient.NativeDriver.Open() +1531
MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +62
MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +222
MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +186
MySql.Data.MySqlClient.MySqlPool.GetConnection() +120
MySql.Data.MySqlClient.MySqlConnection.Open() +1196
btnet.Authenticate.check_password(String username, String password) +233
ASP.default_aspx.on_logon() in c:\inetpub\wwwroot\BTNet\default.aspx:141
ASP.default_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\BTNet\default.aspx:123
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
System.Web.UI.Control.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +66
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5483