Brechin and Queen's Park could not be separated after an entertaining stalemate and will meet again in a replay at Hampden.
The visitors took the lead in 21 minutes when Mark Ferry drove the ball home from a Paton corner.
Brechin equalised in 79 minutes when Stuart Callaghan scored from the spot after Steven Reilly was fouled.
The home side thought they had won the game in stoppage time but Connolly's effort was chalked off.
Brechin: Nelson, White, Ward, Scott Walker, McEwan (Richard Walker 46), King, Steven Ferguson (Byers 67), Smith, Callaghan, Hampshire, Geddes (Connolly 67). Subs Not Used: Flynn, Hillcoat.
Booked: Ward, Smith.
Goals: Callaghan 79 pen.
Queen's Park: Cairns, Paton, Reilly, Sinclair, Dunlop, Kettlewell, Trouten, Quinn, Ferry, Ronald (Canning 86), Weatherston. Subs Not Used: Crawford, Agostini, Dunn, Bowers.
Booked: Trouten, Ronald.
Goals: Ferry 21.