Are your card's on nikons approved list of cards mentioned in the manual? As a last resort you can try formatting the cards via your computer, and run the windows error checking utility presuming you're running windows. Then being sure to reformat the cards in camera. Cards not tested and approved can sometimes have intermittent problems as can a failing card.
____________________________________________________________________ When no one is looking, Pigs can walk on they're hind legs