Aberdeen are in the midst of a 12-game winless slump as they ready to face League Two Elgin City in the fourth round of the Scottish Cup.