Server Error in '/' Application.

ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)

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.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)

Source Error:


Line 103:    
Line 104:                           Dim cnn as New ODBCConnection(strcnn)
Line 105:                           cnn.Open
Line 106:                           Dim oDataSet as DataSet=New DataSet()
Line 107:                           Dim cmd as New ODBCDataAdapter(MySQL,cnn)

Source File: F:\ASPNET\test\LL.aspx    Line: 105

Stack Trace:


[OdbcException (0x80131937): ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Access denied for user 'root'@'localhost' (using password: YES)]
   System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +41
   System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle) +179
   System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions) +70
   System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +81
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +45
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6343166
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6343479
   System.Data.Odbc.OdbcConnection.Open() +47
   ASP.ll_aspx.ViewAllIssues(Object sender, EventArgs e) in F:\ASPNET\test\LL.aspx:105
   ASP.ll_aspx.Page_Load(Object sender, EventArgs e) in F:\ASPNET\test\LL.aspx:25
   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.8966; ASP.NET Version:2.0.50727.8962