Hi,
I got the below error while trying to export the files from data management module.
Reason: Mostly we face this issue when the environment is newly is setup.
SysIntegrationActivityBatchTask-run. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Could not find default endpoint element that references contract 'Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Contract.ServiceContract' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration)
at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address, Configuration configuration)
at System.ServiceModel.Configuration.ConfigurationChannelFactory`1..ctor(String endpointConfigurationName, Configuration configuration, EndpointAddress remoteAddress)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Microsoft.Dynamics.IntegrationFramework.ServiceReference.GetServiceEndpoint(Type serviceClientType, String configFilePath)
at Microsoft.Dynamics.IntegrationFramework.ServiceReference.CreateServiceClient(Type serviceClientType, String configFilePath)
at Dynamics.AX.Application.DMFParameters.createWebServiceClient(Object serviceClientType) in xppSource://Source/ApplicationFoundation\AxTable_DMFParameters.xpp:line 291
at Dynamics.AX.Application.DMFParameters.createServiceClient(Object serviceClientType) in xppSource://Source/ApplicationFoundation\AxTable_DMFParameters.xpp:line 266
at Dynamics.AX.Application.DMFGenerateSSISPackage.generateFileData(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution, String _defGroupName, DMFFileFormat _fileFormat, DMFDelimiter _rowDelimiter, DMFDelimiter _columnDelimiter, String _codePage, String _locale, NoYes _isFirstRowHeader, NoYes _unicode, String _source, String _textQualifier, DMFXMLStyle _style, String _rootElement, String _filePath) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 996
Solution: Please refer below post.
http://rahulmsdax.blogspot.com/2018/08/systemreflectiontargetinvocationexcepti.html?showComment=1535477574484
I got the below error while trying to export the files from data management module.
Reason: Mostly we face this issue when the environment is newly is setup.
SysIntegrationActivityBatchTask-run. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Could not find default endpoint element that references contract 'Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Contract.ServiceContract' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration)
at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address, Configuration configuration)
at System.ServiceModel.Configuration.ConfigurationChannelFactory`1..ctor(String endpointConfigurationName, Configuration configuration, EndpointAddress remoteAddress)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Microsoft.Dynamics.IntegrationFramework.ServiceReference.GetServiceEndpoint(Type serviceClientType, String configFilePath)
at Microsoft.Dynamics.IntegrationFramework.ServiceReference.CreateServiceClient(Type serviceClientType, String configFilePath)
at Dynamics.AX.Application.DMFParameters.createWebServiceClient(Object serviceClientType) in xppSource://Source/ApplicationFoundation\AxTable_DMFParameters.xpp:line 291
at Dynamics.AX.Application.DMFParameters.createServiceClient(Object serviceClientType) in xppSource://Source/ApplicationFoundation\AxTable_DMFParameters.xpp:line 266
at Dynamics.AX.Application.DMFGenerateSSISPackage.generateFileData(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution, String _defGroupName, DMFFileFormat _fileFormat, DMFDelimiter _rowDelimiter, DMFDelimiter _columnDelimiter, String _codePage, String _locale, NoYes _isFirstRowHeader, NoYes _unicode, String _source, String _textQualifier, DMFXMLStyle _style, String _rootElement, String _filePath) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 996
Solution: Please refer below post.
http://rahulmsdax.blogspot.com/2018/08/systemreflectiontargetinvocationexcepti.html?showComment=1535477574484
This comment has been removed by the author.
ReplyDelete