.comment-link {margin-left:.6em;}

Ben Cops

Tuesday, January 31, 2006

A day of filthy mapping gotchas

First it started with using xs:date fields (or xs:time apparently) in any external assembly or inline C# in a map that was expecting a System.DateTime field.
You get "Object type cannot be converted to target type".
Apparently you have to take a string for the parameter, rather than the DateTime, and convert in the code. As Chris Holliday remarked, "Not terribly intuitive", but I suppose it will do.


Next this evil:
Jeff Lynch : BizTalk Server 2004 - Native Parsing Error Gotcha!, which gives "Native parsing error: The path is not of a legal form"

niiiice