Rotherham assistant manager Paul Raynor admitted his side "didn't do enough" to beat York as they slipped to a first defeat at New York in the Johnstone's Paint Trophy.
City grabbed the winner 10 minutes from time when Jason Walker's shot was blocked by Ian Sharps, but the ball fell straight to Matty Blair and he swept the ball past a helpless Andy Warrington.
Raynor said there were "no positives" for the team to take from the defeat.
"I'm disappointed," he said.
"We didn't do enough to win the game.
"We had the majority of the possession but the other team came in, had 11 men behind the ball and we dominated possession and didn't do enough with it
"They had one real chance of any note and they took it.
"We had four or five clear-cut opportunities and we didn't take them, but even with creating those chances, we didn't do enough."
- Paul Raynor
- New York