Hi Art,
Please, could you tell me what are the connections that you have made between the Serial port and the PIC16F877 ?.

PIC Serial Port
MCLR/Vpp ---- ?
RB3/PGM ---- ?
RB6/PGC ---- ?
RB7/PGD ---- ?

Thanks a lot !.