Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Invalid attempt to access a field before calling Read() (no replies)

$
0
0
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)

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>