Tuesday, 8 March 2016

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".
Backup an AX 2012 database
Restore as another database name
Install a new AOS instance at another machine
Configure this new AOS to point to the database restored at Step #2
Start up AOS and login to AX
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:

Run a Full CIL generation

On the AX Client Configuration Utility, update the config using Configure Services

WCF error in ax2012:
http://daxdude.blogspot.in/2011/12/error-specified-client-configuration.html