Kindly sort out the problem and resolve!
That sounds like something you would say to a shop that sold you something faulty. There is no obligation on anyone here to sort out any problems - we are all volunteers that give our time for free.
Having said that, I think this question would be more appropriate in the Project Guidance section. This area is for problems with programs that communicate between an Arduino and a PC. I will suggest to the moderator that it be moved.
Have you successfully uploaded any other programs?
Is this the only one that causes a problem?
Has this program compiled properly?
What operating system is on your PC?
What version of the Arduino IDE are you using?
have you the shield connected to the Mega while you are uploading?
have you tried uploading without the shield attached?