Arduino Ethernet Shield Reset

I just got an Ethernet shield. But when i try to program the arduino with the ethernet shield put on (LAN cable is removed) the arduino keeps on resetting i.e. the USB connection keeps on coming and going in Arduino IDE.

When I remove the Ethernet shield and program the arduino, I face no problems. But when I put in the Ethernet shield again, the arduino start resetting again.

What could be the problem? The ethernet shield is authentic and from arduino.