If the Wi-Fi network requires password, make sure you are entering the correct one, this is case sensitive. Also, you might want to ask the owner if there's mac filtering, you need to be on the whitelist in this case.