i'm trying to add a layer to a map but i have an issue in the datasource when i want to set the dataSourceName. I'm sure my dataset and DB is correctly registery. I can access to a feature class who aren't in a dataset but when i want to access to a feature class in a dataset it's not working.error message : "Unable to find the specified 'dataSourceName' in 'dataSource' for dynamic dataLayer"Layer :{ "id": 145, "source":{ "type":"dataLayer", "dataSource":{ "type":"table", "workspaceId":"DBTESTENG", "dataSourceName":"COLLECTE.SEG_SEGMENT_GAZ" } } }
COLLECTE is my dataset and SEG_SEGMENT_GAZ my feature class. DBTESTENG is my workspace.I'm using SQL Server Express 2012 with arcGIS 10.2.1sorry for my English i'm french !