Arduino IDE 1.0 doesn't upload to Arduino Mega 2560.Older versions do.
No shield. The question is why does it work with the old version.
Problem solved - I selected Mega 2560 in IDE while I have Mega 1280. There is no problem uploading after selecting the correct board.Sorry for bothering you, my mistake.