What's the full text of the "ISP failed" message?
Confirm the network settings are correct; compare the settings and responses from the DHCP server (or the static settings) are correct for the particular network; IP address, IP subnet mask, gateway router, and DNS server(s).
If you're using a wireless connection (as can be inferred), are you in an area where you're likely to encounter interference from other WiFi devices or other devices (cordless phones, other wireless devices, etc) transmitting in the same band you're using for WiFi? Or walls or other structures which might block the wireless signals?
If you are using the wireless connection, switch to the wired connection and see if that works.
If you are using the wireless connection, confirm the credentials, and move to a different location (and preferably closer) for the WiFi router.
If you're using a wired connection, switch to a wireless connection.
And confirm that any DHCP server that's in use here is correctly configured; that it's not passing out IP addresses that are incorrect for the subnet (if you're using more than one DHCP server), or addresses that overlap with any devices configured with static IP addresses.
If you're running more than one DHCP server or more than one WiFi router, consider consolidating to one DHCP server device, and running the wireless devices as access points; what Apple refers to as "bridge" mode with its Airport and Time Capsule devices.