The underlying factor in the sequence of events leading to the accident was the incorrect engagement of the door latching mechanism before take-off. The characteristics of the design of the mechanism made it possible for the vent door to be apparently closed and the cargo door apparently locked when in fact the latches were not fully closed and the lock pins were not in place.