If the pan were dented and leaking..... it would throw a low oil level... not SES light.

what was the SES light for?