Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Erorr when purging Application in Build Master

    Scheduled Pinned Locked Moved Support
    buildmastererrorapplications
    2 Posts 1 Posters 4 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      When we try and purge applications we get the following error.

      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): 547`16`0`Applications_PurgeApplicationData`173`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) +224
      System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
      System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2850
      System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +360
      System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1459
      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) +533
      System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +180
      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) +90
      System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +138
      System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3087

      Version Information: Microsoft .NET Framework Version:2.0.50727.6407; ASP.NET Version:2.0.50727.6406

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        See Q&A 947.

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

        In the mean time, I've emailed you the patch.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation