Resolve System.AccessViolationException

Product affected: Mapxtreme™
This error can be generated by leaving a cursor or ResultSetFeatureCollection open.

Make sure to close all DataReaders, FeatureCollection, and ResultSetFeatureCollection.
If the class has a Close or Dispose method, then use it in code when done with that instance.

What happens is the data access engine keeps pointers to these classes.  When the instance of the class goes out of scope without being closed, the garbage collector removes the memory and then tries accessing it from the data access engine to get its state, and of course, it doesn't exist anymore and generates the error.
UPDATED:  September 5, 2017