Can't upload Sketch Uno/Mega with Arduino wireless SD Shield and RN-XV

Does anyone have an idea.

With the RN-XV in place, it is connected to the serial pins that the IDE is using to talk to the ATMega328 or ATMega2560 chip on the Arduino. The RN-XV is not sending the appropriate replies.

Which shield are you using? Some have a switch that lets you disconnect the device on the shield from the serial pins, while uploading.