Can not see very well from your pictures, but it looks like the cap is connected to the IR and can not tell where the LED is connected.

Make sure every thing is like it is on the last page of the data sheet.