All the Event receivers getting fired in SharePoint 2010 Event receiver Solution

Hi friend.
I have two event receivers. both are deployed as Farm Solution with Site as scope.
ER1=> This event receiver is attached to Form Library and I have changed it's URL in Element.xml ListUrl as Listurl="TimeLog/Forms"
ER2=> This event receiver is attached to Custom list and I have changed its Url in Element.xml as ListUrl="Lists/MyList"
Both the Event receiver have ItemUpdated Event
Here TimeLog is name of Form Library where I log time and MyList is name of custom list.
Event Receivers are deployed to my Root site but I have page to redirect to other site collection which are under root site which contains my list and library. (Note: I dont have any list and library on my root site)
Http://myportal/
and I have other site collections
http://myportal/sites/A
http://myportal/Sites/B and so on..
When I activate both the Event Receiver feature in SiteCollection "A" and updates some value in myList both the event receiver get fired and logs are generate.
Can some one help me out to get only relevant event receiver get fired.  
Thanks & Regards
Gireesh Painuly

Thanks all for your response.
I identified the problem but did not find any solution. I would like to elaborate my requirement in detail:
1- My Site collection structure is as below
a. http://SP13/  => my root site as team site
b. http://SP13/Sites/Client1
c. http://SP13/Sites/Client 2    ..... and so on.. with same URL pattern.  
1- I have created a SharePoint 2014 Empty SharePoint solution as Farm solution ( Because I have multiple site collection in a web application which perform same operation but belong to different clients)
2- I added two Event Receivers in in this solution name ER1 and ER2
3- I created two features ER1-Feature and ER2-Feature these feature contain related ER1(ER1-Feature) and ER2(ER2-Feature) i.e one feature contains ER1 and another feature contains ER2. Both of these features have scope=Site because I don't have any list
and library at Root site that's why scope has not set to Web level.
4. I created two list ERList1 and ERList2 for respected ER's i.e ERList1 for ER1 and ERList2 for ER2
5. Both ER1 and ER2 has two methods ie. Item was Added and Item was Updated. I have just written code in these methods to create a text file to check which event receiver get called. I am not updating any list or library in these event.
6. While creating Event Receiver I have selected Custom List as the source for triggering Event. but I modified Element.xml file of both the Receiver as below:
   A. ListUrl="Lists/ERList1" => in ER1 for ERList1 List
   B. ListUrl="Lists/ERList1" => in ER2 for ERList2 List.
7. I Deployed my Solution to my root site ie Http://SP13/
8. Now when I go to http://SP13/Sites/Client1 and open the ErList1. after adding a record in this list.. I get two log files generated in my drive that is ER1Executed.txt and ER2Executed.txt ( These files are generated by code which I have written in my
ItemAdded and ItemUpdated methods of both ER1 and ER2 respectively
9. Same two files are generate if i add any itme in ERList2 as well.
10. But I identified it by creating both of these list at my root site to check whether tow file get created or not. but here it works fine just creates respected file. it means on related event receiver get fir as it should.
So conclusion: 
when Event receiver is activated in http://SP13/Sites/Client1 it creates two files mens ER is not able to find the list url properly. because in child site collection url get changed
http://SP13/sites/client1/Lists/Erlist1
How can I fix the URL in Element.xml so that related Event Receiver gets fired. I have multipla project in same Url pattern so that solution is deployed as Farm.
Thanks 
Gireesh Painuly

Similar Messages

  • How to send a Weekly E-mail to a Distribution list from Sharepoint by collecting all the events available in all Sharepoint calendars

    Hi,
        I have created many Calendars in my Sharepoint site like Meeting Calendar, Downtime Calendar etc. I will be creating some events in these calendars every week. My requirement is to collect all the events available in the calendar for that week
    and send a weekly mail with all this events to the distribution list
         Is this requirement can be done using the Sharepoint designer workflow or does it require any code related activities to accomplish this? If so can you please provide me the Steps by step process to complete this and can you also share
    the code in case if you have it
    Thanks in Advance

    Hi,
    Try with worklfow timer control and send mail to weekly.(Performance good)
    http://infomoss.blogspot.in/search/label/Workflow2010
    one more option try with Timerjob..(if no way use it)
    http://infomoss.blogspot.in/2013/05/companymicrosoft-todo-update-copyright.html
    http://infomoss.blogspot.in/2013/01/webclient-sharepoint-2010-read-image-uri.html
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • How to identify what are all the events are created in background jobs?

    Hi all,
    how to identify what are all the events are created for  background jobs. And what events gets triggered for a particular job.
    thanxs
    haritha

    Hi Haritha,
    JOB is a program which starts to a determined point of time and executes some standard programs in the system. JOBs can be planed to a determined point of time on the regular basis (every night, for example) or to some discret time moments. So, the JOB can be planed and then will be started automatically without the manual start.
    Realtime programs are understood in the most cases as actual program execution which is started by somebody to the actual moment of time.
    Typically per JOBs some special processes will be started that should be executed automatically and regularly: for example, IDOC application, some correction reports, statistic updates etc.
    Standard jobs are those background jobs that should be run regularly in a production SAP System These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    Use
    As of Release 4.6C, the Job Definition transaction ( sm36 ) provides a list of important standard jobs, which you can schedule, monitor, and edit.
    Standard jobs are those background jobs that should be run regularly in a production SAP System. These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw70/helpdata/en/24/b884388b81ea55e10000009b38f842/frameset.htm
    About Events:
    Events have meaning only in the background processing system. You can use events only to start background jobs.
    Triggering an event notifies the background processing system that a named condition has been reached. The background processing system reacts by starting any jobs that were waiting for the event.
    Types of Events:
    There are two types of events:
    1.)System events are defined by SAP. These events are triggered automatically when such system changes as the activation of a new operation mode take place.
    2.)User events are events that you define yourself. You must trigger these events yourself from ABAP or from external programs. You could, for example, signal the arrival of external data to be read into the SAP system by using an external program to trigger a background processing event.The event scheduler processes an event if the event is defined in the system.
    For example, if a system (System 1) receives an event from another system (System 2), the event scheduler of System 1 processes the event only if it is defined in System 1. That event does not need to be defined in System 2 (the sending system).
    You define an event by assigning a name (EVENTID) to it. When defining an event, you do not define the event arguments.
    for more information you can go thru the following thread:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm
    When you schedule the process chain or infopackages the jobs associated with it run in the background mode. In case you want to create a job for a specific activity you can do so in SM36. You would be creating jobs that would get executed in any one of the options:
    1. Immediate
    2. Date & Time
    3. After event.
    4. After job.
    5. At Operation mode.
    In case you want to view the job logs go to sm37.
    Also Pls check DB02 for database performance and ST03 for workload .
    Analyse u will have an idea ,
    *pls assign points,if info is useful**
    Regards
    CSM reddy
    null

  • What LDB is and what are all the events we have in that..?

    Hi,
    Kindly let me know what LDB is and what are all the events we have in that..?
    Akshitha.

    Hi akshitha,
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB.
    1. To get a taste of it.
    2. create a new z program.
    3. while creating type PNP
    in logical database field.
    4. paste this code and execute.
    REPORT ABC.
    infotypes : 0001.
    TABLES : PERNR.
    GET PERNR.
    WRITE :/ PERNR-PERNR.
    5. The selection screen which u see
    is coming from logical database PNP program.
    6. Execute
    7. U will get a list of pernr.
    SAPDBPNP
    this is the main program of LDB PNP
    which does the main work.
    SAPDB + ldb name.
    regards,
    amit m.

  • Determining Capture to Dequeue Latency for all the Events

    Is there a way to determine the capture to dequeue latency for all the events. I was able to
    determine the capture and propagation latency for the last captured event dequeued by an apply process. Is there any way to capture all the events from first till last
    the query which i used to get that was
    SELECT (DEQUEUE_TIME-DEQUEUED_MESSAGE_CREATE_TIME)*86400 LATENCY,
    TO_CHAR(DEQUEUED_MESSAGE_CREATE_TIME,'HH24:MI:SS MM/DD/YY') CREATION,
    TO_CHAR(DEQUEUE_TIME,'HH24:MI:SS MM/DD/YY') LAST_DEQUEUE,
    DEQUEUED_MESSAGE_NUMBER
    FROM V$STREAMS_APPLY_READER
    WHERE APPLY_NAME = 'APPLY_SITE1';

    You can simply write a unique class as an ActionListener and in its actionPerformed method you do the following:
    Object source = e.getSource(); // e is our event
    if (source == component1) {
    } else if (source == component2) {
         ..Hope this helps

  • I followed all the directions to get Norton 360 to work with Firefox 8, but nothing works. I love Firefox, but if my Norton 360 won't work with it I'll be stuck with IE, which I do not like. Please Help Me!

    I followed all the directions to get Firefox 8 to work with my Norton 360, but nothing has worked. Is there anything else I can do? I didn't know there was an issue when I first upgraded to Firefox 8 so didn't choose the Norton plug ins immediately so I uninstalled Firefox hoping to be able to do it correctly when I Downloaded it again. Unfortunately it didn't ask me any thing regarding Norton so I went to Plug ins as directed to Enable Norton 360's plug ins, but none were listed.
    What can I do now? I LOVE Firefox! If we can't make it work I'll be stuck with Internet Explorer which I do not care for at all!
    I need to have Norton Security to protect my computer. Please help me find a solution to this problem ASAP.
    Thank you,
    Susan L Woods
    [email protected]

    Hi Susie, I use Norton 360 and have the latest Firefox 8 installed is working fine for me. Firefox 8 support for [http://community.norton.com/t5/Norton-360/Firefox-8-Support-for-Norton-Toolbar/td-p/581640 Norton Toolbar] was released on Nov 8th. Install the appropriate add-ons based on the version of Norton 360 you're using (see official Norton link above). Hope this helps.

  • Our home network has multiple devices connected by iCloud. Having problem with Calendar. On one iMac, all the events are duplicated. How can I correct that problem? Under the Calendar accounts, I had my Apple id listed and also just iCloud.

    Our home network has multiple devices connected by iCloud: 2 iMacs, 2 iPhone 4s, 1 MacPro Laptop, and 1 iPad 2.  When using Calendar, all the events were
    duplicated on my husbands iMac.  On his computer, under Calendar accounts, I had included iCloud and also my iCloud ID.  I thought that because I had two accounts listed that were connected to iCloud, that might be the cause of the duplication.  When I deleted ithe calendars from one of the accounts, it resulted
    in deleting all of the events on all of our network devices!
    I have since entered some new events into Calendar from my iMac and from my iPhone.  These appear correctly on all devices except my husband's iMac where they are again all duplicated.
    I have two questions: 1)  How can I eliminate the duplicated events on my husband's computer and 2) How do I retrieve the old wiped out Calendar events from
    Time Capsule.  I don't know how to find Calendar in the Time Capsule.  If I find the Calendar information in Time Capsule, how do I transfer it to my current Calendars?
    I was obtaining phone help from one of the Apple techs at Apple Support, but our call was disconnected part way through.  Didn't know how to reconnect with the tech.
    Thanks for any help.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?

    How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?
    As Apple has yet to upgrade iCalendar so I can check off my events as I complete them (no, I do not want to use a task list/reminder list), I want to be able to move my events to my "completed" events calendar as I complete them. The issue is that most of my events are repeating events, and it changes the entire series. How do I change only the event I clicked on using my iPhone?
    Thanks

    If you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.

  • I upgraded to IOS 7 and now I can't get my Hotmail account on my phone.  When I type in all the information, I get "Unable to Verify Account Information".  How do I get to use my Hotmail account using this software????

    I upgraded to IOS 7 and now I can't get my Hotmail account on my phone.  When I type in all the information, I get "Unable to Verify Account Information".  How do I get to use my Hotmail account using this software????

    I have had the same problem as yours on my Ipad after upgraded Procreate 2.01. My iOS is 7.04. I tried to find solution from internet for weeks. Fortunately, the problem was resolved a few minutes ago. It is very simple,
    1. Lunch outlook.com to confirm you can access hotmail mailbox. It means your account is Ok.
    2. Go to setting>Mail,Contacts,Calendars.Delete your hotmail account from your device.(my device is Ipad)
    3. Turn off your device, then turn on again.
    4. Go to setting>Mail,Contacts,Calendars and create your hotmail account by tap outlook.com. Be sure the incoming mail server is pop3.live.com.
    5. Waiting for validation.
    That's all. Hope my experience is helpful. Good luck!
    Nelson

  • Well im not able to updated all the events I had in the imovie, HELP

    Well im not able to updated all the events I had in the imovie, HELP

    I have started preparing a small Database application
    using JDBC with Swing.
    I want to dispaly all the Table names which are
    present in the Access Data Source. When i used the
    Standard query for this "Select * from Tab" as in
    SQL, an eror saying that "not able to resolve symbol
    'Tab' ".
    Can anybody please help me out to display the table
    names?That query
    Select * from tabwould work only for Oracle, as far as I know. There is no system table called Tab in Access.
    ***Annie***

  • HT5824 How do retrieve my calendar for my iphone? All the events disappeared on my last sync.

    How do retrieve my calendar for my iphone? All the events disappeared on my last sync.

    to retrieve from where? If you synced with icloud all you need to do is go to settings- icloud- turn calendars on. After a minute your calendars should show up and if they do not you can try to turn off and then on again. If they still didn't show - they were never synced with icloud and then the first question to retrieve from where? comes back to us.

  • When I'm trying to submit my account, I'm trying to fill in the postcode but all the time I get an invalid message, how is that possible?

    When I'm trying to submit my account, I'm trying to fill in the postcode but all the time I get an invalid message, how is that possible?

    Account for what? And what postal code re you trying to enter?

  • After updating to IOS 6.0.1 I cannot copy photos from the iPhoto library to the iPhone. The events appear correctly but the photo count in all the Events is 0

    After updating to IOS 6.0.1 I cannot copy photos from the iPhoto library to the iPhone. The events appear correctly but the photo count in all the Events is 0

    Same problem here, and it's not isolated.
    https://discussions.apple.com/message/20228281#20228281
    I believe you will find you can again sync Photos if you delete the "iPod Photo Cache", but predict that any subsequent attempt will fail.  In my case, the enxt sync removes all the photos again - I've seen other reports of error messages upon sync.  Mine just fails silently. :-)

  • After downloading the new operating system to my 3GS, all the events in my calender are doubled!!   HELP PLEASE!

    after downloading the new operating system to my 3GS, all the events in my calender are doubled!!   HELP PLEASE!

    did you find a solution for this?

  • IIf I create a partition for Bootcamp that is at least 30 GB in size, is that all the storage I get when running Windows?

    If I create a partition for Bootcamp that is at least 30 GB in size, is that all the storage I get when running Windows?

    There are differences between each Mac and what the original configuration of the Mac is/was. If your Mac originally came with an Optical drive, burning the ISO to a DVD and using it will work. Hardware modifications like Optibay will cause problems. Modifying Bootcamp info.plist will cause problems. Disk Utility partitioning will cause problems. A custom Hybrid MBR will cause problems. External Optical drives are unlikely to work. There is long litany of grief.

Maybe you are looking for

  • Can't update my iPod touch 3rd gen

    So I have my 3rd gen iPod touch and i have tried to update it several times with errors telling me that iTunes timed out or with the 3091 error code (i think its the 3091 its the highest error code with 3000) and i have redownloaded itunes rebooted m

  • Oracle Sql Developer Installation

    Hi Guys, I will be using oracle sql developr at my place and currently installed it at my personal pc.I am very new to the Oracle Sql Developer. I am not able to connect to the Oracle sql Developer.I have Oracle 9i db and oracle forms 10G running and

  • Help regarding Scheduling date calculation in APO using Condition Technique

    Hi Team,            The below is the issue I am facing. Could you please help me regarding this? For a material MAT1, a stock of 15 is available today i.e. on 15/05/2014 and a Planned Order of 35 is available on 01/08/2014.  I have created a Sales Or

  • RMI-Server "checks" when Client closes RMI-Connection

    Hi there! I hope somebody can help me... I'm developing a client/server application where my client calls a remote method and my server starts working (i.e. 5-7 minutes batch processing). Is there a way my server "gets informed", when RMI connection

  • MacBook Pro late 2011 Battery Performance drop dramatically

    MacBook Pro late 2011 Battery Performance drop dramatically 9 months 94 cycles and its health is now at 89%