0

I have added a list item updating event to a document library but I cant see it running please tell me how to check if it is running, I also have put a log entry in the event receivers code but cant see it in the ULS logs.

Please note that it is running locally but not on the production.

Thanks.

3

Check if there's a registration of your receiver on your list. One way is to get the great SharePoint Manager 2010 tool and see the event receivers registered for you list as at this screen: enter image description here

  • I see let me check – RHM Mar 6 '12 at 10:50
  • I am trying to use Sharepoint Manager 2007 but on opening the site node I am getting Access Denied msg – RHM Apr 18 '12 at 13:00
2

Make sure the element.xml file that's attached with the event receiver contain the event in it like :

 <Receiver>
      <Name>MyDocsEventReceiverItemUpdating</Name>
      <Type>ItemUpdating</Type>
      <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
      <Class>SourceSite.MyDocsEventReceiver.MyDocsEventReceiver</Class>
      <SequenceNumber>10000</SequenceNumber>
    </Receiver> 

As when you override new function in event receiver class VS mayn't add the equivalent xml for it in element.xml file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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