Hi,
I am getting an error while executing a specific batch job on 2012 R3 environment. Actual process is import vendors from cross company using DMF . The batch job was executing successfully till last week after that it was withhold state for time being. Now trying to start again and job getting executed and an error occurred on log.
Getting an error as mentioned below.
Error description from info log:
Error 1:
System.InvalidOperationException: Unable to find the application configuration file C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\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:
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy\v4.0_6.3.0.0__31bf3856ad364e35\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAXProd\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config
at Microsoft.Dynamics.IntegrationFramework.ServiceReference.GetConfigFilePath(Type serviceClientType, String configFileHintPath)
at Dynamics.Ax.Application.MdmWebServiceProxyFactory.GetDmfEntityProxy() in MdmWebServiceProxyFactory.GetDmfEntityProxy.xpp:line 18
at Dynamics.Ax.Application.MdmWebServiceProxyBase.new() in MdmWebServiceProxyBase.new.xpp:line 3
at Dynamics.Ax.Application.MdmWebServiceProxyBase..ctor()
at Dynamics.Ax.Application.MdmWebServiceProxyV1..ctor()
at Dynamics.Ax.Application.MdmWebServiceProxyFactory.Createproxy() in MdmWebServiceProxyFactory.CreateProxy.xpp:line 11
at Dynamics.Ax.Application.MdmAxToMdsExporter.createAndExecuteExportPackageToMDS(MdmEntity _mdmEntity, String _eid) in MdmAxToMdsExporter.createAndExecuteExportPackageToMDS.xpp:line 11
Error 2:
Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.MdmSyncGroupExecution.reportErrorAndThrow(Int64 _executionLogRecId, String _syncGroupName, String _error) in MdmSyncGroupExecution.reportErrorAndThrow.xpp:line 19
at Dynamics.Ax.Application.MdmAxToMdsExporter.Run() in MdmAxToMdsExporter.run.xpp:line 30
at Dynamics.Ax.Application.MdmSynchronizer.synchronize(Object[] _arg) in MdmSynchronizer.synchronize.xpp:line 290
at MdmSynchronizer::synchronize(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runas(String userId, Int32 classId, String staticMethodName, Object[] parms, String company, String language, String partitionKey)
at Dynamics.Ax.Application.MdmSynchronizer.Run() in MdmSynchronizer.run.xpp:line 23
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)
FYI,
1. Data Import/Export framework and AOS services running on same machine.
2. Done full CIL.
3. Restarted the AOS and Data Import/Export framework services .
4. As mentioned in the first error description "Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config" dll file copied and pasted to Dynamics AX folder. C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config
Thanks in advance,
Mani
*This post is locked for comments