AIF Issue with Transformation - Object Reference not set to an instance of an object

We encountered problem with the transformation of ASN and Sales Order invoice when moved to R2 from RTM. The basic issue identified was with the referenced version of
Microsoft.Dynamics.IntegrationFramework DLL

There were some identified version changes in RTM and and R2. So we build the solution again with the new referrenced DLL and it worked for one transformation of Sales order.

Another Issue

- We have an XSLT file to be accessed in the transformation code as follows.
- It was embedded in the code and DLL was accessing it like this

The solution was to place the file in System32 Folder of XSLT and code the following. 


Stream inputXML = File.Open(@"AsnTransform.AsnStylesheet.xslt", FileMode.Open);   // Reads file from System32 folder

 if (inputXML != null)
{
    //Code here
}

Comments

Popular posts from this blog

Export Data from AX 2012 - using DIXF (Data Migration Framework)

The virtual path maps to another application, which is not allowed