SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a WebProvisioned event receiver and i do some work in this event receiver. When i create new webs from powershell, it seems the event receiver does not fire? Is this an expected situation? How can i make event receiver work, when i am creating items from powershell?

share|improve this question
up vote 1 down vote accepted

I have done it in the past so it should be working fine.

  1. Are you running cmd-let with full (administrator) permissions?
  2. Also make sure, account creating the webs have enough privileges to execute (i.e. full control of web application)?
  3. Would you mind posting your webtemp xml, because there could be a problem with provisioning providers in webtemp xml, I have seen it so many times in the past.
share|improve this answer
thank you, the problem was my powershell window was open for a long time. so it does not take the updated version of the event receiver. – ozdogan Nov 23 '12 at 9:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.