Question Status

Suggested Answer
Naveen DAX asked a question on 13 Feb 2015 12:16 AM

Hi All,

I have installed DMF services, AOS and client on separate server, while I am opening the DMF parameter form following errrors are occurs. I searched many forum but not find any proper solution.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: The value of the property 'address' cannot be parsed. The error is: Invalid URI: The hostname could not be parsed. (C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAXDEV\Bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config line 12)
at System.Configuration.ConfigurationElement.get_Item(ConfigurationProperty prop)
at System.ServiceModel.Configuration.ChannelEndpointElement.get_Address()
at Microsoft.Dynamics.AX.Framework.Services.Client.Configuration.CustomConfigurationChannelFactory.UpdateServiceEndpoint(ServiceModelSectionGroup group, ChannelEndpointElement selectedEndpoint, ServiceEndpoint serviceEndpoint)
at Microsoft.Dynamics.AX.Framework.Services.Client.Configuration.CustomConfigurationChannelFactory`1.CreateDescription()
at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)
--- 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)
--- 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.ClrBridgeCore.InvokeClrStaticMethod(Char* pszClassName, Char* pszMethodName, Char* assemblyName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

 

Reply
Suggested Answer
Chandu Naresh Chilukuri responded on 13 Feb 2015 2:45 AM

Generate full CIL. this will mostly solve your problem

Reply
Suggested Answer
André Arnaud de Calavon responded on 13 Feb 2015 10:30 AM

Hi Naveen,

Usually this error is generated if you have not installed the data import/export framework components on the client, AOS and/or SSIS machine.

Check if you have these objects installed.

Also check if the binaries do have the correct version number. If you have e.g. AX 2012 R3 with CU8, please ensure the components installed are also from this exact version.

kind regards,

André Arnaud de Calavon  |  Microsoft Dynamics AX Solution architect  |  My blog  |  My company

This post is my own opinion and does not necessarily reflect the opinion or view of my company, Microsoft, both its employees, or other MVPs.

Reply
Suggested Answer
Chandu Naresh Chilukuri responded on 13 Feb 2015 2:45 AM

Generate full CIL. this will mostly solve your problem

Reply
Suggested Answer
André Arnaud de Calavon responded on 13 Feb 2015 10:30 AM

Hi Naveen,

Usually this error is generated if you have not installed the data import/export framework components on the client, AOS and/or SSIS machine.

Check if you have these objects installed.

Also check if the binaries do have the correct version number. If you have e.g. AX 2012 R3 with CU8, please ensure the components installed are also from this exact version.

kind regards,

André Arnaud de Calavon  |  Microsoft Dynamics AX Solution architect  |  My blog  |  My company

This post is my own opinion and does not necessarily reflect the opinion or view of my company, Microsoft, both its employees, or other MVPs.

Reply