I have created a item was added event receiver for a custom list ,but it is not getting fired when i run the website online,but getting fired when it is runned from visual studio.
here is the element.xml coding
<
<
<
<
<
<
<
<
<
xml version="1.0" encoding="utf-8"?>Elements xmlns="http://schemas.microsoft.com/sharepoint/">Receivers ListUrl="Lists/User">Receiver>Name>ItemAddPermissionItemAddedName>Type>ItemAddedType>Assembly>$SharePoint.Project.AssemblyFullName$Assembly>Class>ItemPermission.ItemAddPermission.ItemAddPermissionClass>SequenceNumber>10000SequenceNumber>Synchronization>SynchronousSynchronization> Receiver>please help
thanks
vamsi charanPosted Dec 9, 2013, 6:46 AM
To know the problem better and help you, please could you answer below things
1) Are the steps followed for deploying the event reciever were same as mentioned in standard msdn articles
2) Does the class name mentioned is exacly same to the class name of your project?
3) When you say working while running from visual studio, does you mean when you debug the project by attaching w3wp process and when you add item in the 'User' list, the functionality is working as expected?
You can check the following below options
1) From visual studio when you debug after debugging is completed it will retract the solution, does your scenario fall into this?
2) If you are confident enough that package is deployed properly then can write samll console application or use SharePoint 2010 manager to check whether the expected event reciever is associated to the list.
Regards,
Vamsi Charan