I was doing some configuration in a R3 CU8 test environment and I ran into this message that I thought I’d share in case you run across it as well. The error is below after opening the DIXF parameters form while the client is pointing to the new AOS. The message will be specific to the AOS that you are connect to and you can see that in the file path.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.InvalidOperationException: Unable to find the application configuration file C:\Program Files\Microsoft Dynamics AX\60\Server\AOS3\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config. Ensure that the assembly containing the specific service client type has an application configuration source file present. Paths below were inspected:
I fixed this one by copying in the Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll from another AOS folder into the new AOS folder. The restarted the AOS.
After this if you try to access the parameters form in the DIXF you will get and error about the config missing.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.IO.FileNotFoundException: Could not find file ‘C:\Program Files\Microsoft Dynamics AX\60\Server\AOS5\Bin\DMFClientConfig.xml’.
This one I corrected by copying the DMFClientConfig.xml and DMFConfig.xml files into the new AOS from a configured AOS. Then restarted the AOS again.
This is a quick video of the errors and what I did to work around the error.