Invalid attempt to access a field before calling Read()
Posted by: Premkumar Sriram
Date: September 23, 2013 04:59PM

We are getting the below exception randomly in serveral places. Any pointers?

2013-09-23 23:10:02,265 [112] ERROR ExceptionLogger - ChangePassword
System.Configuration.Provider.ProviderException: An exception occurred. Please check the Event Log. ---> MySql.Data.MySqlClient.MySqlException: Invalid attempt to access a field before calling Read()
at MySql.Data.MySqlClient.ResultSet.get_Item(Int32 index)
at MySql.Data.MySqlClient.MySqlDataReader.GetFieldValue(Int32 index, Boolean checkNull)
at MySql.Data.MySqlClient.MySqlDataReader.GetString(Int32 i)
at MySql.Web.Security.MySQLMembershipProvider.GetPasswordInfo(MySqlConnection connection, Int32 userId, String& passwordKey, MembershipPasswordFormat& passwordFormat)
at MySql.Web.Security.MySQLMembershipProvider.ChangePassword(String username, String oldPassword, String newPassword)
--- End of inner exception stack trace ---
at MySql.Web.Security.MySQLMembershipProvider.ChangePassword(String username, String oldPassword, String newPassword)

Options: ReplyQuote


Subject
Written By
Posted
Invalid attempt to access a field before calling Read()
September 23, 2013 04:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.