Local area connection doesnt have a valid ip configuration

Is your computer directly connected to a Cable/ADSL modem? Or a router?

If it's a router: do you have other computers that are connected to the same router? Are you trying to connect with Ethernet cable or wirelessly?