Dynamic FeatureLayerClass does not display in map

Discussion created by kbarger@wabtec.com on Nov 18, 2013
Latest reply on Nov 18, 2013 by kbarger@wabtec.com
First, I don't know if this is the correct forum but if not, please direct me to the correct one. I'm using some fairly basic C# code to create a dynamic Feature layer that is referencing another Feature Class that displays Ok as a set of polylines on my map. The line event layer I'm trying to create shows up in the Table of Contents but does not display on the map. I used some error code to see what the problem is. I have other places in my Geodatabase code doing exactly the same thing with no problems. The error I'm getting after creating the FeatureLayerClass is esriLocatingError.LOCATING_E_ROUTE_MS_NULL. What does this error mean and how do I fix it?

thanks in advance,