There may be a problem with the network connection to the Internet.
Fix the network connection. Assuming the physical or wireless connection is working, have Windows attempt a repair:
For Windows 7:
For Windows Vista:
For Windows XP:
Check out what others say about this issue and review or add your own comments and solutions!