I need to transfer a point shape file into an annotaion layer inside a gdb. The point shape file doesn't have z value, and the target annotaion layer has z value.when I run the task,it shows an error as following:
An error occurred while attempting to set the 'Annotation' property on the 'IAnnotationFeature' interface for the annotation feature class 'ANNO_I'. The error number from ArcObjects is: '-2147467259'. The error message from ArcObjects is: {The Geometry has no Z values}
If I create a new target annotion layer without Z value, it will be OK. For other simple layers which also have Z values,no errors occurs.
So what can I do to transfer the shape file into the annotation layer?