Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Does anybody know, how I can add an EventReciever to a List, so that it is called from ALL users that are doing action.

For example: I register an EventReceiver that catches the event "ItemAdded". Now, it must be called everytime when a user ads an Item. No matter what user it is.

I have already asked this on the MSDN forum, but there no one could help me. You can find the entry here

I'm unbelievable grateful for any help!

share|improve this question
add comment

1 Answer 1

Do you have some other custom code which may be interfering?

Have you tried your EventReceiver in a brand, new web application?

share|improve this answer
    
Yes, I've set up 3 brand new Sharepoint Servers with SPS 2010, SPS 2007 & WSS 3.0 All servers are untouched by anything else, there is only my EventReceiver.... –  Anonymous Aug 25 '10 at 12:21
    
Is your class with the EventReceiver in in the GAC or the bin directory? Do you have any CAS policy in place for the class? –  James Love Aug 25 '10 at 12:32
    
I've added the EventReceiver DLL to the GAC. There is nothing in the class but this code: public override void ItemAdding(SPItemEventProperties properties) { properties.Cancel = true; properties.ErrorMessage = "Called"; } –  Anonymous Aug 25 '10 at 13:57
    
What authentication method do your "other users" use? –  James Love Aug 25 '10 at 14:06
    
I tried it with a local users. –  Anonymous Aug 25 '10 at 14:09
show 2 more comments

Your Answer

 
discard

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