Maybe the LED is backwards

Do you have PORTA.1 tied to ground with a resistor (10K) so it is not floating?