At approximately 1:35pm the elevator stopped approximately 30 feet from the top landing with two employees on the elevator. The elevator was examined and the cause was found to be the top landing enter lock door switch. The switch was replaced and the elevator was put back in service at approximately 2:07pm.