Event Receiver: Error occurred in deployment step ‘Activate Features’: 0x80070002

 

Open the Elements.xml file:

<?xml version=”1.0″ encoding=”utf-8″?>
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”&gt;
<Receivers ListUrl=”Lists/Customer Staff”>  <———————————-make sure the list name is correct. Even you have changed the list name to something else, this should be the original name
<Receiver>
<Name>EventReceiver1ItemAdded</Name>
<Type>ItemAdded</Type>
<Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
<Class>Receiver_Personnel.EventReceiver1.EventReceiver1</Class>
<SequenceNumber>10000</SequenceNumber>
</Receiver>
</Receivers>
</Elements>

This entry was posted in SharePoint 2010. Bookmark the permalink.

Leave a comment