Do you have the MCS+ or the Free version?

Did you use ICD_Compile/Program button

http://www.rentron.com/PicBasic/MCS_X3.htm

How about your code?

Any line who disable the Analog stuff on PORTA?