Hi everyone, I've come here as a last resort before I find a revolver and a barn. I've struggled with this problem for weeks, even though it should in theory be a ridiciously simple thing.
My problem is that I have build a eventreceiver in VS2010 which for some reason is triggered on more lists than I specify. When I modifiy a list, the itemadding/added/updated/deleted-event is triggered for all the lists in the site. I don't have a clue why
this happens, and I will provide code below. I have looked into the possibility that older versions/eventreceivers have been in action, hence I've deactivated all solutions and all, but a couple of integrated features. I've also started a new project in VS
several times, and copied only the code over to the new project.
Obviously I've removed the ListTemplateId from the Receivers in the Elements.xml file. I should mention though, that my eventreceivers were still called even if I didn't assign them to any list in elements.xml, or if I specified ListUrl="myList" for example.
The result is that the itemadding/added/updated/deleted-event is triggered for all the lists in the site.
My elements.xml file is as below:
View Complete Post