Monday, June 29, 2015

[AX 2012 - AIF] System.OperationCanceledException: AIF service group not activated. Service group: [already deleted]

At one of my clients I received this error whenever I try to do CIL compilation / activate / deactivate AIF port:
I think I have tried everything I found on Internet (full compile, SYSXPPASSEMBLY table, etc.) to get rid this irritating "error message" but nothing works.

The problem is that AX tries to activate a service group which no longer exist (already deleted)! And this already deleted service group refers to classes which also already deleted.

After "long" hours searching and trying I finally find the solution which is very simple (after I know how to solve it): recreate the deleted service group, add a random service, redeploy it, and delete it again.