[SqlException (0x80131904): 违反了 PRIMARY KEY 约束 'PK_T_BufferQueue'。不能在对象 'dbo.T_A0001_BufferQueue' 中插入重复键。语句已终止。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137 DataLayer.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) in E:\BYActivityList\DataLayer\SqlHelper.cs:331 DataLayer.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in E:\BYActivityList\DataLayer\SqlHelper.cs:246 Web.A0001.TwoLayers.DAL.DALFuncation.InsertLTActiveCode(T_A0001_UserInfo LTCode, String& CardNumber, Int32& IsSuccCode) in E:\BYActivityList\BY_LT_Solution\Web\A0001\TwoLayers\DAL\DALFuncation.cs:87 Web.A0001.TwoLayers.BLL.BLLFuncation.InsertLTActiveCode(T_A0001_UserInfo userinfo, String& CardNumber, Int32& IsSuccCode) in E:\BYActivityList\BY_LT_Solution\Web\A0001\TwoLayers\BLL\BLLFuncation.cs:35 Web.A0001.JoinActivationCode.btnSubmit_Click(Object sender, EventArgs e) in E:\BYActivityList\BY_LT_Solution\Web\A0001\JoinActivationCode.aspx.cs:137 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 |