What is the recipe to a successful marriage?

from my point of view-
only if a husband fulfils all his duties and responsibilities and give her all the rights prescribed by Islam and treats his wife the way our beloved Prophet (PBUH) has treated his wives.
If both husband and wife follow deen (not just one) then i dont think any marriage would fail.