|
Succede anche a me però per una offerta PUBBLICA:
Server Error in '/' Application.
ERROR [23000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Duplicate entry '284404' for key 'PRIMARY'
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 [23000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Duplicate entry '284404' for key 'PRIMARY'
Source Error:
Line 600: Command = New OdbcCommand(QueryString, Connection)
Line 601: Connection.Open()
Line 602: Command.ExecuteNonQuery()
Line 603: Connection.Close()
Line 604: 'RECUPERO L'INDIRIZZO EMAIL DEI GIOCATORI DELLA LEGA PER MANDARE LORO LA NOTIFICA DELL'OFFERTA EFFETTUATA (SOLO PER QUELLI CHE HANNO ACCETTATO DI RICEVERE LE NOTIFICHE DAL SITO)
Source File: C:inetpubwwwrootfantacalcioservice.itApp_CodeclsMercato.vb Line: 602
Stack Trace:
[OdbcException (0x80131937): ERROR [23000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Duplicate entry '284404' for key 'PRIMARY']
System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +41
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) +2933
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) +105
System.Data.Odbc.OdbcCommand.ExecuteNonQuery() +104
clsMercato.InserisciOfferta(clsOffertaDetails objOffertaDetails, String TipoLega) in C:inetpubwwwrootfantacalcioservice.itApp_CodeclsMercato.vb:602
Leghe_wuc_OffertaPubblica.btnInviaOfferta_Click(Object sender, EventArgs e) in C:inetpubwwwrootfantacalcioservice.itLeghewuc_OffertaPubblica.ascx.vb:265
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
|