A lot of PICs have analog on portA. If the one you are using shutting the ADC off may help.
Go to the FAQ section and look for a thread about portA not working.