The dispute between the irrigation departments of Haryana and Uttar Pradesh over the construction of a check dam in the Chhachhroli area to prevent Yamuna waters from entering villages of this district during the rains was resolved today.