Database error when trying to delete feed folder

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Database error when trying to delete feed folder Expand / Collapse
Author
Message
Posted 5/20/2008 7:48:46 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 5/21/2008 8:48:54 PM
Posts: 3, Visits: 11
I get the message shown below when trying to delete an unwanted feed folder. I've renamed the folder to 'delete me'. It seems the folder contains itself. Could someone resolve this with some manual SQL? My NewsGator online username is the same as in this forum (audistard). Thanks.

Server Error in '/' Application.
The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_WebFolder_WebFolder". The conflict occurred in database "ngservices", table "dbo.WebFolder", column 'ParentFolderID'.
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 SAME TABLE REFERENCE constraint "FK_WebFolder_WebFolder". The conflict occurred in database "ngservices", table "dbo.WebFolder", column 'ParentFolderID'.
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 SAME TABLE REFERENCE constraint "FK_WebFolder_WebFolder". The conflict occurred in database "ngservices", table "dbo.WebFolder", column 'ParentFolderID'.
The statement has been terminated.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +928490
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +801478
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149
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) +253
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +431
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
ngslib.WEFolders.DeleteWebFolder(Int32 userId, Int32 folderId, Int32 machineId) in c:\Release\NewsGator Online\Online Build and Deploy Release\Sources\Branches\Release\Sourcegslib\WEFolders.cs:1783
ngservices.WebFolderMaint.btnDelete_Click(Object sender, EventArgs e) in c:\Release\NewsGator Online\Online Build and Deploy Release\Sources\Branches\Release\Source\NewsGator.Webgs\subscriber\WebFolderMaint.aspx.cs:307
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +90
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +76
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



Post #39877
Posted 5/21/2008 9:06:28 AM
Forum Member

Forum Member

Group: Forum Members
Last Login: Yesterday @ 9:22:23 AM
Posts: 18, Visits: 76
Good Morning,

This folder has been deleted for you and we're investigating why this occurred.

Thanks!
NewsGator
Post #39894
Posted 5/21/2008 9:20:37 AM
Forum Deity

Forum Deity

Group: Forum Members
Last Login: 6/19/2008 12:21:17 PM
Posts: 1,095, Visits: 1,551
I have submitted this request to the Platform team. (Case 137294)

Keith Franklin
Post #39895
Posted 5/21/2008 8:51:09 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 5/21/2008 8:48:54 PM
Posts: 3, Visits: 11
Thank you
Post #39938
« Prev Topic | Next Topic »


All times are GMT -7:00, Time now is 11:53am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.156. 10 queries. Compression Disabled.

NewsGator.com | Support | Developers | Partners | Press | Company
© Copyright 2003-2008  NewsGator Technologies, Inc. All Rights Reserved.
Copyright Information | Privacy Policy | Terms of Service
Microsoft Gold Certified Partner