There might be other solutions besides this one, but these are the steps i followed to solve the error above. I am using AX 2012 R3 CU8, and special thanks to my co-worker (Anja) who helped me with this solution:
SOLUTION:
- Refresh WCF in client configuration:
- In Administrative Tools select AX 2012 Configuration
- in Configuration Target select Business Connector (non-interactive use only)
- In Configuration create new configuration if you only have the original,
- click on Connection tab, then click on Refresh configuration.
- Stop AOS service
- Delete files in Xppil (files ONLY, don’t delete the folders inside Xppil)
- C:\Program Files\Microsoft Dynamics AX\60\Server\(your dev. repo. name)\bin\XppIL
- Start AOS
- Generate Full CIL
- Data dictionary synchronize
Hopefully, following the steps above will get rid of the error for you as well, good luck 🙂