I think you should try to re-install your window, i also had same problem few weeks ago. I tried everything but at last i had to re-install my window to get rid of this error. After re-install window and wamp server my problem got resolved.
Recently I have installed Wamp server 2.2 in windows 8, I’m having a problem regarding phpmyadmin and it says that “it cannot access the phpmyadmin”. I also tried to open http://localhost but it also doesn’t working. Please suggest me how to run.?