Okay...so ESRI has a major FAIL once again.We were monitoring results returned from CostDistanceWithPolyline and looking at the polyline length to determine that the call succeeded however that value isn't being set by the idiots. Looked at the map in one run and was shocked to see a line sitting there.