You gotta take the lens cap off!
Ha ha! couldn't resist.
I've had a similar problem with taking pictures a few times and never figured out what it was. It was in a high light situation, with the resolution set to highest and superfine and the pictures taken were just solid black, while pictures taken immediately in a different lighting situation were fine. I dropped the resolution down a notch and it worked fine.