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.

1 Answer 1


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.

  • 1
    Unrelated to the question, but you might want to merge your accounts as it appears you have created two.
    – blah238
    Commented Nov 1, 2012 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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