Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ArcObjects 10.0, SDE on MS Sql Server, Visual Studio 2010, C#.Net

Using ArcObjects, I am able to add feature classes to the map with no problem. However, when adding an annotation feature class to the map, the layer appears with the red exclamation point, which indicates that it is not valid.

Can someone provide some code that shows how to properly add an annotation feature class to a map?

Thanks in advance.

share|improve this question

Well, the problem was not the ArcObjects, it was the underlying data. At least in my case, there is no need to treat the annotation feature class as anything special compared to adding a regular vector feature class.

share|improve this answer
Unrelated to the question, but you might want to merge your accounts as it appears you have created two. – blah238 Nov 1 '12 at 6:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.