Is your pic16f819 the 18 or 20 pin version? Check the data sheet. The programming pins are not in the same location. Your mclr, PGC and PGD need to line up in the ziff socket. If you are doing in circuit programming check your wiring again.