Developer Mapping Guide > Dynamic Mappings > Troubleshooting Dynamic Mappings
  

Troubleshooting Dynamic Mappings

Consider the following troubleshooting tips when you design and test dynamic mappings:
The dynamic ports in my mapping include a column with XML data type, and the mapping failed.
You cannot propagate XML data through a mapping if any of the following conditions are true:
My dynamic mapping failed with run-time errors for parameters and links. I would like to make sure that the parameters and links successfully resolve before I run the mapping.
When you run a dynamic mapping, the Data Integration Service compiles the mapping to complete the following tasks:
You can view the optimized mapping to see the compiled version of a mapping. Right-click an empty area in the mapping editor and click Show Optimized Mapping. The Data Integration Service generates the optimized mapping. You can review the optimized mapping, fix any issues, and then run the mapping.
The following image shows a dynamic mapping that contains transformations with dynamic ports:
The mapping contains a Read transformation, two Expression transformations, and a Write transformation. The two Expression transformations have two dynamic ports.
The following image shows the compiled version of the dynamic mapping in which the generated ports are converted to static ports and are linked:
The optimized mapping contains a Read transformation, an Expression transformation, and a Write transformation. The generated ports are converted to static ports and the links are resolved between the ports in the optimized mapping.