Hi, Hope anyone can help me.
Right now I'm developing a tool that takes from a workspace a shapefile of poits (routes stops) and add location to a route Layer, after I select the solve route and export it as a shapefile to other folder, not a complex thing.

It seems to be ok, but It gives me back a error mesage when I try to run it:

it seems to be a trouble in add location tool, it doesn't recive the layer from iterate feature class, I run just that part in arc map, add locations ad it works fine, so I really don't know what is happening, any ideas will be really helpful.
thanks.