If you are getting this error even after you are connected to internet then all you have to do is
1.open internet explorer then go in internet options Or click on settings wheel(if you are using IE9)then go in internet options Or go in control panel search for internet option then click on it and you will get this