Hi All,
I am facing same issue and tried same steps as provided in above link, but getting exceptions as below when executing below code.
{"The action was failed after 0 times of retry. InnerException is: \"The TestAutoComplete_5_0_0_0_managed solution doesn’t have an upgrade that is ready to be applied.\"."}
public void ImportCRMSolution(string solutionName, string inPutDirectory, IOrganizationService destinationService)
{
ImportSolutionRequest impSolReq = new ImportSolutionRequest()
{
CustomizationFile = fileBytes,
PublishWorkflows = true,
OverwriteUnmanagedCustomizations = true,
HoldingSolution = true,
};
UpgradeSolution(solutionName, destinationService);
}
public Guid UpgradeSolution(string solutionUniqueName, IOrganizationService service)
{ var request = new DeleteAndPromoteRequest { UniqueName = solutionUniqueName }; var response = (DeleteAndPromoteResponse)service.Execute(request); return response.SolutionId; }
Kindly help me ASAP.
Thanks in advance.
*This post is locked for comments