Error: Data could not be saved. A .NET Framework error occurred during the execution of user-defined routine or aggregate “USP_LOADSPEC” when editing the name of a membership program

You may receive this error when trying to edit the name of a membership program to “Membership”.

Error: Data could not be saved. A .NET Framework error occurred during the execution of user-defined routine or aggregate “USP_LOADSPEC”: System.Data.SqlClientException: Violation of UNIQUE KEY constraint ‘UC_QUERYVIEWRELATIONSHIP_ROOTQUERYVIEWID_PATHALIAS’. Cannot insert duplicate key in object ‘dbo.QUERYVIEWRELATIONSHIP’.

Name the membership program something other than “Membership”


Environment

 2.8, Patch 8

Was this article helpful?