Error:Data could not be saved. The INSERT statement conflicted with the FOREIGN KEY constraint, when saving a form that you are attempting to edit

Type: Blackbaud.AppFx.WebAPI.AppFxWebServiceException
Message: Data could not be saved. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_CUSTOMFORMRULEACTION_RULEACTIONFIELDID". The conflict occurred in database "6894_9c205c74-941b-4006-be4b-15bc97da63c6", table "dbo.CustomFormElement", column 'Guid'.
StackTrace: at Blackbaud.AppFx.WebAPI.DataFormServices.SaveData(AppFxWebServiceProvider provider, DataFormSaveRequest request) at Blackbaud.AppFx.WebAPI.DataFormServices.SaveData(AppFxWebServiceProvider provider, FormData formData) at Blackbaud.Web.Content.Core.Data.CustomForm.Save() at Blackbaud.Web.Content.Portal.CustomFormContentEditor.Save() at Blackbaud.Web.Content.Portal.CustomFormContentEditor.ServerValidate(ServerValidationInfo ValidationInfo) at Blackbaud.Web.Content.Portal.ModalTemplate6.CustomValidator1_ServerValidate(Object source, ServerValidateEventArgs args) at System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) at System.Web.UI.WebControls.BaseValidator.Validate() at System.Web.UI.Page.Validate(String validationGroup) at Blackbaud.Web.Content.Portal.BBPage.Validate(String validationGroup) at Blackbaud.Web.Content.Portal.BBPage.ValidateGroup(String ValidationGroup) at Blackbaud.Web.Content.Portal.CustomFormContentEditor.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
CreateDate: 2012-04-12 23:57:11.197
This is resolved in the latest version of NetCommunity. If this behavior is persistent, please confirm you’re on the latest version of NetCommunity.

Environment

 6.41, patch 8
 6.45.2034

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.