Jimmy Vivas
New Member
This is a classic error that people have some times. I will really apreciate your cooperation to tell us how to fix that problem. It is driving us crazy. 
The Real MicroMan said:1) make sure the low voltage programming option is not set.
2)make sure you R6 and R7 clock and data lines are going to the right place.
3) If there is anything connected to R6 or R7 and your tring to program in circuit. use a resistor between r6 and rest of circuit and r7 and rest of circuit.
4) Try a differnt PIC, that one might be bad
5) make sure if you using a osc. greater then 8mhz the osc. option is set to HS.
6)that's all of the top of my head
__config _HS_OSC & _WDT_OFF & _PWRTE_OFF