ODBC Run ime error’- 2147217900 (80040e14)

Hello,
This is the situation that I had yesterday. OS Windows XP, Virtual basic 6, ODBC 3.51. Recently we had some problems with electricity. After that I got error message whenever VB6 via ODBC receives and send data to MySQL. Any suggestions/solution/ advice?
Thank you
Samuel
Moscow 19-12-07
Run-time error’-2147217900 (80040e14)’:
[MySQL][ODBC 3.51 Driver][mysqld-5.0.24a-community-nt-log]Duplicate entry ‘45331’ for key 1
