Be cautious of using "plenty of gasket sealer" as sometimes too much can make a gasket slippery enough to get out of place.
I have good luck with gasket or weatherstrip adhesive to fix the gasket to the pan and then use a small amount of Permatex #2 on the other side.
Grigg