Thursday, February 20, 2014

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
}

No comments:

Post a Comment