Our team recently updated the security in accessing files on our server through impersonating the forms. I am able to access the our shapefiles manually; however, when we add a LayerOverlay containing ShapeFileFeatureLayers to the CustomOverlays of the map control we receive tiles on the map with “Object reference not set to an instance of an object”. Upon debugging I discovered it is coming from the DrawCore function of the ShapeFileFeatureLayer. Here is a screen shot showing the tiles https://www.screencast.com/t/TZjw7UCOiQ. Is there a way to work with ShapeFileFeatureLayer and impersonation?
Thank you,
Neil