you can also have this event during installation if the Deafult Web Site does not exist. manually create it with no host header binding solved the issue​