Server Error in '/' Application.

Access denied for user 'bodhi'@'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: MySql.Data.MySqlClient.MySqlException: Access denied for user 'bodhi'@'localhost' (using password: YES)

Source Error:


Line 139:        catch (Exception ex)
Line 140:        {
Line 141:            throw ex;
Line 142:        }
Line 143:

Source File: c:\inetpub\vhosts\bodhi.in\httpdocs\App_Code\DAL.cs    Line: 141

Stack Trace:


[MySqlException (0x80004005): Access denied for user 'bodhi'@'localhost' (using password: YES)]
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +343
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +39

[MySqlException (0x80004005): Authentication to host 'localhost' for user 'bodhi' using method 'mysql_native_password' failed with message: Access denied for user 'bodhi'@'localhost' (using password: YES)]
   DAL.GetDataTable(String cmdText, CommandType cmdType, MySqlParameter[] parameters) in c:\inetpub\vhosts\bodhi.in\httpdocs\App_Code\DAL.cs:141
   hand_block_printing.FillData() in c:\inetpub\vhosts\bodhi.in\httpdocs\hand-block-printing.aspx.cs:26
   hand_block_printing.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\bodhi.in\httpdocs\hand-block-printing.aspx.cs:18
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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