Menu ▾ ▴

#11 Arrumar a data como quiser da erro

open
Business (5)
7
2008-10-27
2008-10-20
No

Line 244: }
Line 245: }
Line 246: PostService.Instance.Save(post);

Line 247:
Line 248: Session.Remove("content");

Source File: e:\home\bis2b\Web\admin\Pages\Add_entry.aspx.cs Line: 246

TRACKER

[SQLiteException (0x80004005): Abort due to constraint violation
insert on table "be_PostsCategories" violates foreign key constraint "fki_be_PostsCategories_CategoryID_be_Categories_CategoryID"]
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.UpdateCategories(Post post, DbConnection conn, DbProviderFactory provider) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\Providers\DbBlogProvider.cs:1939
BlogEngine.Core.Providers.DbBlogProvider.InsertPost(Post post) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\Providers\DbBlogProvider.cs:391
BlogEngine.Core.Providers.BlogService.InsertPost(Post post) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\BlogService.cs:103
BlogEngine.Core.PostService.DataInsert(Post o) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\PostService.cs:489
BlogEngine.Core.ServiceBase`2.Save(TYPE o) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\ServiceBase.cs:79
BlogEngine.Core.PostService.Save(Post o) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\PostService.cs:481
admin_entry.btnSave_Click(Object sender, EventArgs e) in e:\home\bis2b\Web\admin\Pages\Add_entry.aspx.cs:246
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

Discussion

  • Arthur Germano

    Arthur Germano - 2008-10-20

    Foto sobre o erro

     
  • Arthur Germano

    Arthur Germano - 2008-10-27
    • assigned_to: nobody --> agermano
     

Log in to post a comment.