|
Kath -> RE: Bug Report (7/26/2005 4:12:59 PM)
|
Just got another violation error... http://faithcommunitynetwork.com/m_1125/mpage_26/tm.htm#325775 Server Error in '/' Application. Violation of PRIMARY KEY constraint 'sessionID'. Cannot insert duplicate key in object 'pgd_Session'. The statement has been terminated. 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: Violation of PRIMARY KEY constraint 'sessionID'. Cannot insert duplicate key in object 'pgd_Session'. The statement has been terminated. Source Error: Line 32: cmd.Parameters.Add("@IP", Request.ServerVariables("REMOTE_ADDR")) Line 33: Line 34: cmd.ExecuteNonQuery() Line 35: Line 36: Dim isThereNewPM As Integer = CInt(cmd.Parameters("@isThereNewPM").Value) Source File: E:\Replicated\National\Forums\js\globalSessionFunction.aspx Line: 34 Stack Trace: [SqlException: Violation of PRIMARY KEY constraint 'sessionID'. Cannot insert duplicate key in object 'pgd_Session'. The statement has been terminated.] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +194 ASP.tm_aspx.InsertUpdateSession(String sessionID, Int32 mem, String login, String lastActivity, String whereAbout, Object appidQS, Object mQS) in E:\Replicated\National\Forums\js\globalSessionFunction.aspx:34 ASP.tm_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in E:\Replicated\National\Forums\session.aspx:127 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 System.Web.UI.Page.ProcessRequestMain() +1984 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
|
|
|
|