﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Newsgator Forums / NewsGator Online / NewsGator Online Support and Requests  / Database error when trying to delete feed folder / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Newsgator Forums</description><link>http://forum.newsgator.com/</link><webMaster>info@newsgator.com</webMaster><lastBuildDate>Wed, 27 Aug 2008 19:20:19 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Database error when trying to delete feed folder</title><link>http://forum.newsgator.com/Topic39877-4-1.aspx</link><description>Thank you</description><pubDate>Wed, 21 May 2008 20:51:09 GMT</pubDate><dc:creator>audistard</dc:creator></item><item><title>RE: Database error when trying to delete feed folder</title><link>http://forum.newsgator.com/Topic39877-4-1.aspx</link><description>I have submitted this request to the Platform team. (Case 137294)</description><pubDate>Wed, 21 May 2008 09:20:37 GMT</pubDate><dc:creator>Keith Franklin</dc:creator></item><item><title>RE: Database error when trying to delete feed folder</title><link>http://forum.newsgator.com/Topic39877-4-1.aspx</link><description>Good Morning,&lt;br&gt;&lt;br&gt;This folder has been deleted for you and we're investigating why this occurred.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;NewsGator</description><pubDate>Wed, 21 May 2008 09:06:28 GMT</pubDate><dc:creator>FrankB</dc:creator></item><item><title>Database error when trying to delete feed folder</title><link>http://forum.newsgator.com/Topic39877-4-1.aspx</link><description>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.&lt;br&gt;&lt;br&gt;[code]Server Error in '/' Application.&lt;br&gt;The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FK_WebFolder_WebFolder". The conflict occurred in database "ngservices", table "dbo.WebFolder", column 'ParentFolderID'.&lt;br&gt;The statement has been terminated.&lt;br&gt;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.&lt;br&gt;&lt;br&gt;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'.&lt;br&gt;The statement has been terminated.&lt;br&gt;&lt;br&gt;Source Error:&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;Stack Trace:&lt;br&gt;&lt;br&gt;[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'.&lt;br&gt;The statement has been terminated.]&lt;br&gt;   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +928490&lt;br&gt;   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +801478&lt;br&gt;   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186&lt;br&gt;   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932&lt;br&gt;   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149&lt;br&gt;   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954&lt;br&gt;   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +253&lt;br&gt;   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +431&lt;br&gt;   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135&lt;br&gt;   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&lt;br&gt;   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&lt;br&gt;   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +90&lt;br&gt;   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +76&lt;br&gt;   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7&lt;br&gt;   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11&lt;br&gt;   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Tue, 20 May 2008 19:48:46 GMT</pubDate><dc:creator>audistard</dc:creator></item></channel></rss>