I had that problem on my Galaxy S3, the SD card was removed unexpectedly by itself; even when I tried to read it in the computer, it was removed sometimes, for example when I tried to format it, or just at a random time.
SOLUTION: What I did to solve it, is first: Open the Execute window on...