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 59:                                   
Line 60:                                   Dim cnn as New ODBCConnection(strcnn)
Line 61:                                   cnn.open
Line 62:                             Try
Line 63: 

Source File: F:\ASPNET\test\tst_genel_c.aspx    Line: 61

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.tst_genel_c_aspx.LoadData1() in F:\ASPNET\test\tst_genel_c.aspx:61
   ASP.tst_genel_c_aspx.Page_Load(Object sender, EventArgs e) in F:\ASPNET\test\tst_genel_c.aspx:40
   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