codeconverter

localAttachControl failed with error 1008

Discussion created by codeconverter on Dec 17, 2010
Latest reply on Feb 18, 2011 by codeconverter
I am attempting to use the Java API for ArcObjects and after performing the license initialization logic, which seems to work fine, the next line in the code is:

ourMxDocument = new MxDocument();

This line seems to execute for about 40 seconds and then I get a java error popup window that says:

localAttachControl failed with error 1008:  An attempt was made to reference a token that does not exist.

I found similar text to this in another post (with a different error code) that talked about an old ESRI directory needing to be renamed.  I did that but my problem still persists.  Anyone have any ideas to help?  Thanks

Outcomes