I think that I've had the same thing happen.... from what I found out, when I erased the SD card, my computer reformatted it and the camera won't recognize the new format.
I bought new SD cards and delete one pic at a time now instead of whole banks of pics..... I'm not very computer savvy, but that's my quick fix.
Good luck, shoot straight and God bless,
Rodd