"The workspace is not connected" when calling JsonToFeatures

2297
1
08-10-2016 12:18 PM
BKuiper
Occasional Contributor III

I use the JsonToFeature (Conversion) tool a lot within our program to allow users to export their GraphicsLayers to shapefiles. It works quite alright for most cases, but the attached json file fails without any clear description except "the workspace is not connected". The error doesn't make any sense as the same call works for other layers where we are using the same workspace settings.

Perhaps Esri can try to parse this json file and give us a better idea on what is failing? presumably there is a markup error in the Json file that might have already been addressed in Runtime .NET ?

I have attached the json file.

Thanks!

0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi Bjorn,

I get the same error when running the JSON through the tool in the latest build of ArcMap. But only when the output is a Shapefile. If i change the output to a File Gdb I receive the following error: "The row contains a bad value. [FeatureIds]"

The error "the workspace is not connected" may be mis-reporting an issue with some values in the FeatureIds field in your data?

Cheers

Mike

0 Kudos