
Hello Power users,
I was trying to deploy a solution using pipelines and stuck at an error message.
Deployment error says, Solution upgrade fails due to previous pending upgrades.
And when tried to delete the solution from Test environment see the below error.
The error message is : Failed to upgrade solution. Sql error: Statement conflicted with a constraint. The DELETE statement conflicted with the REFERENCE constraint "environmentvariabledefinition_environmentvariablevalue". The conflict occurred in database "db_xty", table "dbo.EnvironmentVariableValueBase", column 'EnvironmentVariableDefinitionId'. The statement has been terminated. CRM ErrorCode: -2147185375 Sql ErrorCode: -2146232060 Sql Number: 547
Tried deleting some environmental variables that were used during the deployment. Can anyone please help? or suggest anything if anyone come across the situation.
Thank you so much in advance!