Bongani Khumalo's header a minute from time earned Doncaster a low-key Capital One Cup win over Rochdale at Keepmoat Stadium.
Until the on-loan Tottenham defender connected with David Cotterill's free-kick it had looked as though Paul Dickov's men were going to be taken to extra-time by Keith Hill's gallant Sky Bet League Two side.
There was little doubting Rovers deserved a first win under Dickov, though, for it was they who had done the majority of the running in the largely lifeless 88 and a half minutes that preceded the goal.
Although often missing an extra touch of class in the final third, they were twice denied by the woodwork and also ran into an in-form goalkeeper in the shape of Josh Lillis.
Towering striker Chris Brown saw a first-half header cannon on to the crossbar, while after the break he was denied by the former Scunthorpe goalkeeper.
Lillis also impressed as he tipped over James Coppinger's piledriver and, even when Coppinger's shot was too hot for him to handle in the 57th minute, he still somehow managed to tip it up on to the crossbar.
Rochdale's best work came from Matty Lund, who twice went close with swerving efforts, but Dale were undone when Khumalo went up for a free-kick alongside centre-half partner Rob Jones and got the final touch as the pair jumped together.