Year 1017 (MXVII) was a common year starting on Tuesday (link will display the full calendar) of the Julian calendar.
Hamza ibn-'Ali ibn-Ahmad publicly declares the founding of the Druze religion, during the reign of the Fatimid Caliph Al-Hakim bi-Amr Allah.
Rajendra Chola annexes the island of Sri Lanka.
The Sunnis of Kairouan revolt against the Shi'ite Zirid Dynasty. The city is quickly retaken and sacked.
c. May – Melus of Bari begins a rebellion, supported by Norman mercenaries. His Lombard forces are victorious, in three pitched battles against the Byzantine Empire.
c. July – Cnut the Great, King of England, marries Emma of Normandy, widow of the penultimate monarch, Æthelred.
Cnut divides England into the four earldoms of Wessex, Mercia, East Anglia and Northumbria.
Kiev burns.
Possible date at which construction of Saint Sophia's Cathedral, Kiev, is started.
Abd ar-Rahman IV succeeds Sulayman as Umayyad caliph.
October 28 – Henry III, Holy Roman Emperor (d. 1056)
Zhou Dunyi, Neo-Confucian philosopher in Song Dynasty China (d. 1073)
Ramanujacharya, Sri Vaishnavism philosopher
June 5 – Ex-Emperor Sanjō of Japan (b. 975)
July 6 – Genshin, Japanese scholar (b. 942)
Autumn – Elvira of Castile, Queen of León (b. 965)
c. December 25 – Eadric Streona, Earldorman of Mercia (killed)
Ramon Borrell, Count of Barcelona (b. 972)
1017 Wikipedia (Text) CC BY-SA