Itemupdating firing 2 times

Every time an item was added to the custom list, the event was firing twice.

I was associating the event receiver to the custom list through Feature Activated on a feature receiver for my Event Receivers project.

Even a simple app to enumerate the event receivers associated to the list only showed the one instance. Well, I had moved on to other things again, when all of a sudden, I noticed that new tasks were being created in the task list for some documents that I was uploading to a different document library. That’s pretty much the symptom for a receiver associated to a list template, but this was NOT a list template! It wasn’t going to show up in the Event Receivers collection for that list instance, because it was associated to the list type.

When I added it to the list instance, it just caused the event to fire twice on THAT list.

BTW : This Code isn't written in the itemadded method nor in the itemupdated method, actually it's the code in a user control for a webpart development.

Download Share Point Manager 2010 (spm.codeplex.com/releases/51438/download/146573) (note! ), and check as at this my screenshot: gyazo.com/15c4b2c58844d0e61c62da1a1fc2884 I had the same problem this week when I wanted to publish a page directly from the "Publish" ribbon button. The first time for the check in, The second time for the publication, and the last time to approve it.

On the other lists (without any workflows) my receiver is working fine.

I've encountered a problem where when I add a document to the library (e.g.

by saving it back from Word) the Item Added method is correctly called however this is then followed by two calls to Item Updating.

How can I find out if a workflow called my event receiver?

Is there a difference between a workflow which fires the event, or a user who fires the event?