Arduino port is not detected

I am having the following problem with my arduino uno board:
After connecting Arduino Uno board with cable, the LED on the board is on but the port is not getting detected in programming sketch page. It is shown in attached images.

I checked all the libraries and everything is fine. I connected new Arduino uno board using the same cable and programmed, it is working perfectly and it’s port is detected. But the old arduino board port is not getting detected. Please help me to find the problem.