Joe Ironside scored the winner in extra time to take Doncaster through to the second round of the FA Cup with victory over fellow League Two side Accrington in the replay.
After the two sides drew 2-2 at the Eco-Power Stadium, Stanley got off to a dream start in the seventh minute when Korede Adedoyin's low cross found Joe Pritchard at the near post and he flicked the ball home.
Stanley pressed, with Pritchard chipping the ball narrowly wide and visiting keeper Louis Jones producing a superb save to keep out a Jack Nolan free-kick.
Doncaster started the second half strongly and equalised after 67 minutes when Tom Nixon's cross from the left was stroked home by Zain Westbrooke at the near post.
Stanley substitute Josh Woods charged free after 82 minutes but his low shot was saved while, after 86 minutes, Luke Molyneux's shot cannoned off a post.
George Broadbent's fierce strike was blocked on the line for Rovers in a frantic finale.
In extra time, Doncaster scored the winner after 101 minutes when Broadbent squared the ball for Ironside to slide in and find the roof of the net.
Report supplied by PA Media.