Result of the program are not stored on the SD CARD

Which SD card shield or module are you using?

Does the example CardInfo sketch work?

.