Resolved! Hello I am using the STM32L152 discovery board but suddenly is not detected by my PC. I am also using STM32F407 Discovery board but there is not any problem like this.
So why this issue in the STM32L1 discovery board.I also uploaded images regarding the problem in the board.