you start off saying that you are using a 18F242 but then mention your programming software is set for a 18F2420. Is this just a typo?

good luck