00142: Layer's data source cannot be referenced in the ArcGIS Runtime
In this topic
Some types of data sources are not supported for ArcGIS Runtime. You have referenced one of these data sources in your document.
Solution
- Replace the unsupported data source with a supported geodatabase feature class. The following table lists unsupported data sources and suggested alternatives:Unsupported data sources for ArcGIS Runtime
Unsupported data sources Suggested alternatives ArcInfo coverage
Convert the data to feature classes in a geodatabase.
CAD
Import CAD content into a geodatabase feature class.
Excel file
Generate features for each Excel spreadsheet and load the resulting feature classes into a geodatabase feature class.
ArcIMS feature service
Load the original data source into a geodatabase feature class.
In-memory feature class
Save in-memory data as a feature class in a geodatabase.
ArcGIS feature service
Convert the data to feature classes in a geodatabase.
PC ARC/INFO coverage
Convert your PC ARC/INFO coverages into geodatabase feature classes.
- Alternatively, if you do not need the map layer that has an unsupported data source in your basemap layer or map service, you can delete the map layer from your ArcMap document.