SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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 tricky problem with list event handlers (item checking in).. I deployed a site level feature with itemcheckingin event for sharepoint 2010.

If I access the sharepoint site using the url's defined in AAM, then event handlers work fine. But lets say any user uses a different url (by adding an entry to HOSTS file) then sharepoint does not trigger event handlers.

Is there any way to register event handlers regardless of the access url ? or am I doing something wrong while registering / configuring sharepoint ?


share|improve this question

There is a lot of things that don't work when you access SharePoint from a URL not in the AAM. My install actually gives a yellow screen of death when this is done. I don't think accessing SP from a url that's not in AAM is supported in SP.

Just curious, why would a user be using an URL different from what's in the AAM? And why would you want to support this?

An easy way to rid yourself of this is I would turn on host headers for the site in IIS to only include those that are in your AAM.

share|improve this answer
Hello, I don't wanna support this actually. I just want sharepoint to trigger the event handlers no matter what.. enforcing url's via site bindings (host headers for iis7 I guess) seems to be only solution. Thanks! – Gokhan B. Sep 9 '11 at 21:33

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.