- assigned_to: nobody --> aollmann
Abort due to constraint violation
columns CategoryID, UserID are not unique
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.SQLite.SQLiteException: Abort due to constraint violation
columns CategoryID, UserID are not unique
Source Error:
Line 156: else
Line 157: cat.Parent = new Guid(ddlParent.SelectedValue);
Line 158: BlogService.InsertCategory(cat);
Line 159: Response.Redirect(Request.RawUrl);
Line 160: }
Source File: e:\home\bis2b\Web\admin\Pages\Categories.aspx.cs Line: 158
Stack Trace:
[SQLiteException (0x80004005): Abort due to constraint violation
columns CategoryID, UserID are not unique]
System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) +373
System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) +200
System.Data.SQLite.SQLiteDataReader.NextResult() +221
System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +93
System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() +53
BlogEngine.Core.Providers.DbBlogProvider.InsertCategory(Category category) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\Providers\DbBlogProvider.cs:1126
BlogEngine.Core.Providers.BlogService.InsertCategory(Category category) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\BlogService.cs:273
admin_Pages_Categories.grid_RowUpdating(Object sender, GridViewUpdateEventArgs e) in e:\home\bis2b\Web\admin\Pages\Categories.aspx.cs:158
System.Web.UI.WebControls.GridView.OnRowUpdating(GridViewUpdateEventArgs e) +133
System.Web.UI.WebControls.GridView.HandleUpdate(GridViewRow row, Int32 rowIndex, Boolean causesValidation) +776
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +837
System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) +95
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) +117
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +132
System.Web.UI.WebControls.LinkButton.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) +177
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746