I just removed the resonator and replaced it with two 2 inch long wires.
The wires are soldered to the pads the resonator came off of.
I stuck a resonator in a breadboard, grounded the resonator to the breadboard (which was powering the PCB). They share gnd and pwr.
Hooked the osc wires to the breadboard.
It works.
What does this prove.
The PIC is programmed OK.
The pwr and gnd to the PIC are OK
The connections from the osc pads to the PIC are OK
About the ony thing left would be a bad resonator but I had
checked it prior to soldering it in. I also checked the resistance
between the resonator pads and the socket pins.
I used a new resonator on the breadboard because the pins on the old one were too short. So it could be that the resonator was damaged when I installed it but that is not likely.
It should be noted that I lost an outside resonator pin when desolder it for the 2 or 3rd time.
I understand that over 99% of the time the problem is improperly programed chips and wiring errors.
This still looks like a layout problem to me but I would not for sure say that I have verified that.