First Image - you don't have sufficient RAM. please search the COW for "Out of Memory" threads to find a suitable solution
Second Image - the CODEC you are using does not support the resolution that you have specified in the Output Settings dialog window. Check literature on the CODEC for appropriate/supported resolutions.
Intensive mocha & AE Training in Singapore and Other Dangerous Locations
Imagineer Systems (mocha) Certified Instructor
& Adobe After Effects ACE/ACI (version 7)