According to WOIAF:
“In the eyes of many, the Great Council of 101 AC thereby established an iron precedent on matters of succession: regardless of seniority, the Iron Throne of Westeros could not pass to a woman, nor through a woman to her male descendents.”