Молба към White Wabbit и компания:)
Моля ви, ама от сърце ви моля, да изтриете папката Художествена литература в общност "Образование", за подредя по автори произведенията, които искам да сложа там.
Преди няколко дни Тери се опита да ми помогне, но също като мен не успя. Когато се натисне бутона за изтриване, се зарежда страница, в която се съобщава за грешка.
Server Error in '/' Application.The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'.
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: The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'.
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.
The statement has been terminated.
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): The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'. Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0. The statement has been terminated.] ConsultCommerce.Data.Access.Database.HandleException(Exception ex) +51 ConsultCommerce.Data.Access.Database.ExecuteNonQuery(Int32 index) +153 ConsultCommerce.Data.Access.DatabaseCommand.ExecuteNonQuery() +35 ConsultCommerce.Wiki.DAL.SpaceDAL.Delete(Database db, Nullable`1 userId, Int32 id, Boolean permanently) +279 ConsultCommerce.Wiki.Space.DeleteImpl(Database db, Nullable`1 userId, Int32 id, Boolean permanently) +427 ConsultCommerce.Wiki.Space.Delete(Nullable`1 userId, Int32 id, Boolean permanently) +56 wiki_default.SpacesOnCommand(Object sender, GridViewCommandEventArgs e) +434 System.Web.UI.WebControls.GridView.OnRowCommand(GridViewCommandEventArgs e) +105 System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +76 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) +163 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) +174 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
Преди няколко дни Тери се опита да ми помогне, но също като мен не успя. Когато се натисне бутона за изтриване, се зарежда страница, в която се съобщава за грешка.
Server Error in '/' Application.
The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'.
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.
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: The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'.
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.
The statement has been terminated.
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): The DELETE statement conflicted with the REFERENCE constraint "FK_wiki_document_label_wiki_document". The conflict occurred in database "BTCBGLog", table "dbo.wiki_document_label", column 'document_id'. Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0. The statement has been terminated.] ConsultCommerce.Data.Access.Database.HandleException(Exception ex) +51 ConsultCommerce.Data.Access.Database.ExecuteNonQuery(Int32 index) +153 ConsultCommerce.Data.Access.DatabaseCommand.ExecuteNonQuery() +35 ConsultCommerce.Wiki.DAL.SpaceDAL.Delete(Database db, Nullable`1 userId, Int32 id, Boolean permanently) +279 ConsultCommerce.Wiki.Space.DeleteImpl(Database db, Nullable`1 userId, Int32 id, Boolean permanently) +427 ConsultCommerce.Wiki.Space.Delete(Nullable`1 userId, Int32 id, Boolean permanently) +56 wiki_default.SpacesOnCommand(Object sender, GridViewCommandEventArgs e) +434 System.Web.UI.WebControls.GridView.OnRowCommand(GridViewCommandEventArgs e) +105 System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +76 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) +163 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) +174 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
Въпросът ми е следният: проблем ли е да се изтрие, или просто сте забравили за молбата ми?