注册

发新话题 回复该主题

抢激活的时候出bug咯 [复制链接]

1#
Server Error in '/ActivityList' Application. 违反了 PRIMARY KEY 约束 'PK_T_BufferQueue'。不能在对象 'dbo.T_A0001_BufferQueue' 中插入重复键。
语句已终止。
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.SqlClient.SqlException: 违反了 PRIMARY KEY 约束 'PK_T_BufferQueue'。不能在对象 'dbo.T_A0001_BufferQueue' 中插入重复键。
语句已终止。

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[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

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

怎么这样咯
分享 转发
TOP
2#

专业性太强 不懂啊
TOP
3#

哈..

你开多个窗口..用一个帐号抢..就是这个效果..呵..我都想这样搞的..不行才注册抢的..呵..最好抢还是中午第一趟..用自己帐号抢了个..再重新注册后去抢还有..哈..
TOP
4#

我也没看懂。。。。
TOP
5#

你没信啸哥....鉴定完毕
TOP
发新话题 回复该主题