Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Error when purging application



  • When trying to delete an application I get the following error. Is there a work around for this?

    Server Error in '/' Application.

    547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_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: 547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_Id'.

    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): 547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_Id'.]
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1099
    System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6291804
    System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6292993
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424
    System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +522
    System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +182
    Inedo.Data.DatabaseFactory.Inedo.Data.IDatabaseExecuter.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) +144
    Inedo.Data.WrappedStoredProcedure.ExecuteNonQuery() +108
    Inedo.BuildMaster.Web.WebApplication.Administration.Applications.PurgeApplication.<CreateChildControls>b__6(Object s, EventArgs e) +72
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981



  • This will be fixed in 3.7.1; but a patch is available for those on 3.7.0. Just email support - at- inedo - dot - com, and we'll send it over.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation