Wednesday, 9 October 2013

WCF settings error on new AX 2012 AOS installation

It is quite common to have a few different instance installed at Development machine. Sometimes developer make a duplicate copy of client's LIVE environment just to test out some hotfix. Below is one of the scenario which cause the error - "The specified client configuration does not contain valid WCF settings".
  1. Backup an AX 2012 database
  2. Restore as another database name
  3. Install a new AOS instance at another machine
  4. Configure this new AOS to point to the database restored at Step #2
  5. Start up AOS and login to AX
  6. The error "The specified client configuration does not contain valid WCF settings" pops up
Trying to create sales order will throw error (so does a lot of other functionality).

*During the creation of this new instance, the CIL is not recompile

To fix this:
  1. Run a Full CIL generation
  2. On the AX Client Configuration Utility, update the config using Configure Services


No comments:

Post a Comment