I am creating sites and subsites with object model from a console app. And what i realized is, it fires twice for every newly created subsite. I checked from Sharepoint Manager if the event receiver is registered twice, but no there are no multiple registrations. So what can cause the WebProvisioned event firing twice?
Edit: I have found a blog article that says the webprovisioned event is firing twice, and the author also does not know why. the article
One other interesting “feature” (a rather peculiar one) is that when I tested my sample “Site” scoped WebProvisioned receiver it got called twice for one and the same site (no idea yet if this is an issue with my dev environment only or it is something by design). This is not the case for “Web” scoped WebProvisioned receivers.