Dale have been drawn away to fellow League One side Crewe Alexandra in the first round of the Johnstone's Paint Trophy.
It means two trips to Gresty Road in the space of a fortnight, with the tie due to be played on week commencing September 1st.
A confirmed date and ticket prices will be announced in due course.