Hi Folks,
When the new AOS is installed and configured with the already installed DIEF components, the following error will prompt up while accessing the DMF parameters form in DIEF module.
“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\MicrosoftDynamicsAX\60\Server\AX2012R2_TEST\Bin\Microsoft.Dynamics.AX.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: C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamics.AX.DMF.ServiceProxy\v4.0_6.2.0.0__31bf3856ad364e35\Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config
C:\ProgramFiles\MicrosoftDynamicsAX\60\Server\AX2012R2_TEST\Bin\Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config at Microsoft.Dynamics.IntegrationFramework.ServiceReference.GetConfigFilePath (Type serviceClientType, String configFileHintPath)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrStaticMethod(ClrBridgeImpl* , Char* pszClassName, Char* pszMethodName, Char* assemblyName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)”
Resolution:-
Please copy the Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config file from the Old AOS to New AOS folder, now the issue has been solved. Stepby you will get the following file is missing DMFClientConfig as the same copy this file from the old AOS to new AOS folder, now your issue will be solved and everything will working fine.
Many Thanks,
Rudra
"Helping others without any expectation will always made the others to help you"