in the PIC programmer ,there is option for oscillation mode.
Are you set the option correct?
-------------------------------------
F0SC1 F0SC0 oscillation mode
0 0 LP(Low Power)
0 1 XT(Crystal/Resonator)
1 0 HS (High Speed)
1 1 RC(Resistor/Capacitor)
the HS > 4M 1M<XT<=4M
Bookmarks