I can't correctly compile Data Import Export Framework in AX2012R2

This question is not answered

I can't correctly compile Data Import Export Framework in AX2012R2.

After CIL compilation the compiler says:

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFParameters.getServiceConnectionUrl' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFParameters.validateSharedFileFolderPath' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFGenerateSSISPackage.generateFileData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFEntity is not found during IL generation. 'DMFGenerateSSISPackage.generateFileData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFGenerateSSISPackage.generateStagingData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFEntity is not found during IL generation. 'DMFGenerateSSISPackage.generateStagingData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFEntity[] is not found during IL generation. 'DMFGenerateSSISPackage.generateStagingData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFCompositeEntity is not found during IL generation. 'DMFGenerateSSISPackage.generateStagingData' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFHierarchyValidation.definitionEntityValidation' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFHierarchyValidation.validateConnectionString' will throw an exception at run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddRefRecord or its parameters could not be resolved during CIL generation, in class RetailConnReplicationAJob.addToReadRequest. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddReadRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationAJob.processActions. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddDeleteRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationAJob.processActions. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddReadRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationAJob.processActions. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddDeleteRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationNJob.processNormalJob. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddReadRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationNJob.processNormalJob. Generating the code to make a reflection call during run time.

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddReadRequest or its parameters could not be resolved during CIL generation, in class RetailConnReplicationPJob.processNormalJobByPull. Generating the code to make a reflection call during run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFEntity[] is not found during IL generation. 'DMFStagingWriter.helperCompositeEntity' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFStagingWriter.showPreview' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFEntity is not found during IL generation. 'DMFStagingWriter.showPreview' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.DMFCompositeEntity is not found during IL generation. 'DMFStagingWriter.showPreview' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFXmlGeneration.odbcMappingGeneration' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFDataSourceProperties.generateDSNNameLookupServer' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFDataSourceProperties.validateConnectionString' will throw an exception at run time.

Severe Warning: .NET type Microsoft.Dynamics.AX.DMF.ServiceProxy.DMFServiceReference.ServiceContractClient is not found during IL generation. 'DMFDefinitionGroupEntity.validateStatus' will throw an exception at run time.

Finished pass 3 at 10.10.2013 17:48:02

Finished creating types at 10.10.2013 17:48:43

Errors: 0

Warnings: 18

And therefore, I think, I can't run DIE Parameters FRM

Err:

Information: Either the .NET instance method Microsoft.Dynamics.Retail.StoreConnect.Request.ISCSourceRequestHeader.AddRefRecord or its parameters could not be resolved during CIL generation, in class RetailConnReplicationAJob.addToReadRequest. Generating the code to make a reflection call during run time.

I tried these fixes without satisfactory result:

community.dynamics.com/.../resource-page-for-data-import-export-and-migration-in-microsoft-dynamics-ax-2012.aspx

Thank you for your ideas.

jp

All Replies
  • Hi JP,

    You have not mentioned if you installed DIEF correctly with all  components on the correcht machines:

    DIEF Service - To be installed on the SSIS machine

    AOS Component - To be installed on the AOS machine

    Client Component - To be installed on the client machine

    If the AOS component or client component is not installed succesfully, you can have the problems as you describe.

    I think it is best to have the AX client installed on the AOS as well with the Client component. Then start the compile from the client on the AOS machine.

    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.

  • Hi AndrĂ©,

    all components are installed on single machine (server). It's a new, clean installation without any errors.

    Best regards,

    JP

  • Hi JP,

    It looks like referenced components could not be found. Check the next page to check if all is present in the correct folders: technet.microsoft.com/.../jj225595.aspx

    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.