I have reliability issues with a TNY178 based design. After 2 years the chip did blow away. The traces on the PCB show that there was a lot of heat around the primary side diode connected to the D pin of the chip. In my design there is an additional series resistor to this diode which also did blow away.
What are your ideas to increase reliability, reduce heat in that path ?