If you have ever had your visa denied, you are no longer eligible for VWP tourist visa as government finds it high risk of doing something incompatible with your visa.