You probably need
TRISA=00000000

this tells your chip that all your pins are outputs.


Dwayne