If iTunes cannot access the iTunes Store, it might display this alert message: “Cannot connect to the iTunes Store. An unknown error has occurred.”

The rest is here:
Can’t connect to the iTunes Store