|
Vorrei cambiare un paio di cose nelle mie liste ma mi appare sempre la seguente schermata al momento di salvare le modifiche:
"ERROR [23000] [MySQL][ODBC 3.51 Driver][mysqld-5.0.51a-community-nt-log]Duplicate entry '3226-20959-1' for key 1
scription: 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 3.51 Driver][mysqld-5.0.51a-community-nt-log]Duplicate entry '3226-20959-1' for key 1
Source Error:
Line 1253: Dim Command As New OdbcCommand(QueryString, Connection)
Line 1254: Connection.Open()
Line 1255: Command.ExecuteNonQuery()
Line 1256: Connection.Close()
Line 1257: Next
Source File: C:Inetpubwwwrootfantacalcioservice.itApp_CodeclsFantaSquadre.vb Line: 1255
Stack Trace:
[OdbcException (0x80131937): ERROR [23000] [MySQL][ODBC 3.51 Driver][mysqld-5.0.51a-community-nt-log]Duplicate entry '3226-20959-1' for key 1]
System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +35
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) +1735
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) +60
System.Data.Odbc.OdbcCommand.ExecuteNonQuery() +87
clsFantaSquadre.ModificaListaPreferenza(Int32 NumeroLista, Int32[] IdCalciatori, Int32[] CostoCalciatori, Int32 IdSquadra, Int32 IdLega) in C:Inetpubwwwrootfantacalcioservice.itApp_CodeclsFantaSquadre.vb:1255
LegheCup_wuc_Liste.btnRegistraListe_Click(Object sender, EventArgs e) in C:Inetpubwwwrootfantacalcioservice.itLegheCupwuc_Liste.ascx.vb:855
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746"
Se riuscite a eliminare l'errore prima dell'apertura (ormai imminente) delle buste, mi fate un enorme favore.
Grazie della disponibilità e della pazienza.
VISTO CHE CI SONO SEGNALO UNA COSA GIA' FATTA PRESENTE DAL MIO PRESIDENTE DI LEGA:
Ci sarebbe una squadra da inserire nella lega Viktor Ponedelnik, cioè questa:
Dalla Lega "Peter Nielsen" - Nome squadra: sami team
Con conseguente spostamento di questa qua:
italia92 IDSquadra: 20895 Presidente: cdm06
Grazie di nuovo
Modificato da PepperMagik il 06/06/2008 22:31:57
|