I successfully managed to install the SP1-UR2 on the server (onPrem), but it wasn't applied to all organizations.
When I try to upgrade a organization I receive the following error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "extra_condition_attribute". The conflict occurred in database "EndeavorSandbox_MSCRM", table "dbo.AttributeIds", column 'AttributeId'.
I have tried to pin down the error using SQL-Profiler without success. When I examine the AttributeIds table in the database I can't see any constraints.
Anyone that have had this kind of problems and can point me in the right direction.
Is this a issue that I should file a support request for?
Thanks
/ Johan