laptop and a wrench

Bug

In ArcGIS Runtime SDK for .NET, the IdentifyLayerResult provides an exception, "The item to be created already exists in the database." (HResult is: -2146233088) at the sublayer label of the MapService.

Last Published: November 27, 2018 ArcGIS Runtime SDK
Bug ID Number BUG-000115405
SubmittedJuly 17, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This error is caused is a mismatch between the field data type and domain data type. The table/featureclass `MiscValve` in the database has a field `MAINTYPE` which is datatype Text, but the domain assigned to the field is `D_MainType` which is for Integer field types. This issue can be resolved by choosing a domain type that matches the field data type in the Geodatabase design/schema. Note ArcMap and ArcGIS Pro should prevent this situation occurring through the UI and we will follow up to ensure that workflow is adequately protected through both the UI and programmatic usage. In ArcGIS Runtime we aim to provide a more meaningful error message in future when this mismatch occurs.

Steps to Reproduce

Bug ID: BUG-000115405

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options