| Report Inappropriate Content
This Forum is closed for replies.
||Error with CreateFeature in SDE Layer
||Sep 04, 2007
I am getting an error every time I call the CreateFeature method on IFeatureClass. I am trying to add a feature to an empty SDE layer. When the error occurs, StartEditing and StartEditOperation have already been called. The error message is as follows: 'Shapes of this entity type not allowed in this layer'. Note that this error happens before I even get a chance to assign a shape to the new feature.
I have been searching the documentation and the forums for a couple of days with no success. The same code works fine when dealing with shapefiles or layers in a personal geodatabase.
Thanks for any help,
Silvics Solutions, LLC