Report Inappropriate Content
Top Print
This Forum is closed for replies.
|
| Subject |
Error with CreateFeature in SDE Layer |
| Author |
Steven Teller |
| Date |
Sep 04, 2007 |
| Message |
Howdy,
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,
Steve |
| |
Steve Teller
Software Engineer
Silvics Solutions, LLC
Birmingham, AL |
| |
|