Write string to SD card and send string via xbee

Are you uncommenting the XBee code at the same time?

No, i did it systematically, trying all the combinations

Neither scenario applies to you, does it?

I have 12 endpoints that need to send a read RFID tags to one xbee/arduino connected to a computer. Logging RFID tag information to the SD is for data backup. The xbee/arduino at the computer will control when each endpoint sends its data.

So just using the serial to send the data to the computer worked fine. I agree i find it hard to believe the physical attachment of the shield with XBee mounted is what is causing the problem. I havent tried sending it over the serial to another xbee. Maybe I should reconsider not using the xbee library.