Multiple event handlers registered for the same event and error when adding users to sec groups

Project Server 2013 CU April (May) 2014
I've created and installed two event handlers (separate dll:s) and both are triggering on Project Published - initially, both are working fine.
After an IISReset, trying to create a new security group (or add a user to an existing group) will result in an error on the page and a corresponding error in the ULS log - the latter indicating an error in the method security.creategroups, and specifically
a problem 'An item with the same key has already been added.'
An SQL trace reveals a break in execution after executing the proc 'pub.MSP_ADMIN_ReadEventReceivers' which returns all registered event handlers.
In my case, the result of that proc execution shows that there are two event handlers registered with an EVENT_ID of 53 (Project Published) and with ORDER_FIRED set to 1 and 2 respectively.
I tried removing one of the event receivers using the Central Admin PWA interface and then everything worked just fine - I added the event receiver back again, and everything STILL worked! IISReset and I got the error back again. :-(
Since there's obviously some problem with reading multiple entries from that table regardless of the ORDER_FIRED differentiation, I tried temporarily modifying one of the '53' entries in the table directly and then the sec group was created just fine!
I would like to know if anyone else has seen this? I've seen this on three separate installations now after deploying a second event listener onto those systems.
/Lars Hammarberg
//Lars Hammarberg www.connecta.se

Hi Lars,
yes I have seen the same issue. It is not related to April CU. I had the error before with SP1.
It is not only an issue with the security groups. At least in our case nothing worked at all. No custom field editing, all Queue Jobs failing.
For your case I suggest you consolidate your code in one eventhandler.
Theory says that you can have more than 1 (up to 999) eventhandlers for one Event (http://msdn.microsoft.com/en-us/library/ms481079(v=office.12).aspx) but that seems not to
work. Not sure, if it worked in earlier versions.
Kind regards
Christoph
Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany

Similar Messages

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

  • Can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    Yes, there are even defaults for naming them, such as LivingRoom, Bedroom, etc, or you can even enter your own name with the remote for each AppleTV.

  • Last summer I bought a music album from iTunes. I've already transferred all my orders from my units, but somehow iTunes wants me to pay for the same album again. When I try to add it to my wish list it simply tells me that I've already bought that item.

    Last summer I bought a music album from iTunes. I've already transferred all my purchases from my units, but somehow iTunes wants me to pay for the same album again. When I try to add it to my wish list it simply tells me that I've already bought that item.
    And I've already tried to search for downloadable purchases.
    So fact is established, I've purchased this album before but iTunes does not recognize it.
    What to do?

    Hey sorry for the late response but I've been out of town.  I can copy and paste the email responses if necessary or desired, and if it's fixed already this is a moot point anyway, but basically they kept asking me for the order numbers for the two songs I already bought from the specific album I was trying to complete, which I eventually gave them - along with telling them multiple times that the Complete My Album feature wasn't working for ANY album.  They gave me two free song codes to compensate me for the two songs I bought, and then told me to go and buy the album at full price, but the ENTIRE TIME they COMPLETELY ignored that I was telling them that this wasn't an issue with one album but was a larger, seemingly systematic issue that other people were experiencing.  Even after I got the song codes I emailed them back and said AGAIN that this wasn't an isolated feature, and they just sent me the link to the apple Feedback page (http://www.apple.com/feedback/itunesapp.html) and told me to submit my complaint there.  So, technically, my issue was never really "resolved," in that they never fixed the Complete My Album feature that I am aware of - or even acknowledged that anything needed fixing, but I haven't tested it since Sunday.
    If it's working for you, then hopefully they fixed it!  I've noticed they've updated to 10.4.1, but the notes don't indicate they're fixing anything about the Complete My Album feature, so I don't know.

  • I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and I find it very annoying.

    I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?

    . Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?
    Check, if you have the "Primary Only" option enabled. Then keywords will only be applied to the "Primary Image":
    See:                  Keywords or ratings are applied only to one of the selected images - why?
    Uncheck the little square button with the "1".

  • Compare previous row values for the same id and decide

    Hello ,
    I have this sample data
    create table #student_academic
    pk_id int identity(1,1) primary key ,
    student_id int ,
    [year] int,
    [aggr_marks] float
    insert into #student_academic
    student_id ,
    [year] ,
    [aggr_marks]
    values
    (112,2012,55.4),(113,2012,65.4),(114,2012,82.32),
    (112,2013,75.4),(113,2013,91.22),(114,2013,45.45),
    (112,2014,61.2),(113,2014,95.2),(114,2014,75.6)
    select * from #student_academic
    from the above data i have to generate an extra status column. this status column should be decided by comparing the previous row value. the exact output should be like below.
    student_id year aggr_marks Staus----------------------------------------------------------
    112 2012 55.4 None
    112 2013 75.4 Promoted
    112 2014 61.2 Demoted
    113 2012 95.2 None
    113 2013 75.6 Demoted
    113 2014 91.22 Promoted
    113 2012 45.45 None
    113 2013 65.4 Promoted
    113 2014 82.32 Promoted
    is there any way to write the t-sql with out using cursors ? this table has around 25GB of data. Any idea would be appreciated.
    Thanks in advance.

    Hello,
    The difficulty of your example is
    that there are several rows for
    the same year and the same student.
    I present a solution
    if there is
    one line per year per
    student:
    TRUNCATE TABLE #student_academicinsert into #student_academic
    student_id ,
    [year] ,
    [aggr_marks]
    values
    (112,2012,55.4),(113,2012,65.4),(114,2012,82.32),
    (112,2013,75.4),(113,2013,91.22),(114,2013,45.45),
    (112,2014,61.2),(113,2014,95.2),(114,2014,75.6)
    Go
    WITH CTE AS
    (SELECT pk_id, student_id, year, aggr_marks,
    (SELECT TOP 1 aggr_marks FROM #student_academic AS b
    WHERE a.student_id = b.student_id AND a.year -1 = b.year
    ORDER BY student_id) AS prev_aggr_marks
    FROM #student_academic AS a
    SELECT
    pk_id, student_id, year, aggr_marks,
    CASE
    WHEN prev_aggr_marks IS NULL THEN 'None'
    WHEN aggr_marks < prev_aggr_marks THEN 'Demoted'
    WHEN aggr_marks >= prev_aggr_marks THEN 'Promoted'
    END AS Status
    FROM CTE
    ORDER BY student_id, year
    Regards,
    Charlie
    Charlie Dancoisne - Independent Consultant & Trainer (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Tried unsuccessfully to restore my MBP, running the Mac OSX Lion, to factory settings. I keep getting the "can't download additional components for the Mac OSX Lion" error when reinstalling the OSX Lion. Any tips on how to resolve this problem?

    Hello! Tried unsuccessfully to restore my MBP, running the Mac OSX Lion, to factory settings. I keep getting the "can't download additional components for the Mac OSX Lion" error when reinstalling the OSX Lion. Any tips on how to resolve this problem?

    Hi
    Given that your answer to 1. is 'pre-installed' and 3. is 'No', I think the only thing to do is to take it to an Apple store (ideally the one you bought it from) and have them reinstall it for you.
    The intended solution in cases like yours is that you should be able to reboot and install even a wiped disk by using Apple's servers over the internet (you do this by restarting with 'command-r' and choosing 'reinstall Lion'). However if this isn't working for you then you need to get the store to do it. Don't let them fob you off with 'go home and try again'. Have them do it in the shop (you're still covered by Applecare warranty so it should cost you nothing save the inconvenience of the trip and possibly leaving the machine there while they fix it).
    A reinstall should leave all your own personal data and programs in place.
    Note for future: when you get it fixed, first thing to do is buy a cheap external drive and start keeping a backup (either Time Machine or clone with Carbon Copy Cloner).
    Message was edited by: softwater

  • Multiple MM schedule lines for the same date

    Hello All Gurus,
    I am facing a problem where the MM schedule lines are divided into various quantites for the same date. For example on 02/11/2010 the total quantity is 120, it is appearing in the below form in ME38:
    02/11/2010 - 40
    02/11/2010 - 40
    02/11/2010 - 40
    Although this is not an error, but my client is not happy with this. Can someone tell me why I am getting this error? Is it because of the rounding value that we maintain in MRP 1 view of material master record? Or is there any other setting that I am missing?
    Please let me  know. I would be very much thankful to you.
    Thanks and Regards,
    Umakanth

    Hi,
    Before changing the setup, note that sometimes it is beneficial to split one demand into multiple delivery schedules. Especially if the demand is bigger than equipment type (container/truck etc.). If you want to manage inbound transportation for such delivery schedules, it is much simpler to do this when each delivery schedule is not bigger than one equipment.
    Regards,
    Dominik Modrzejewski

  • Multiple instances of APPS for the same database?

    Since upgrading to 11.5.10, we are not able to have multiple instances of APPS open for the same database. Prior to the upgrade we could which allowed a person to have 2 sessions open with different responsibilities, thus not having to switch each time.
    Is there a profile setting/patch etc which will allow this again?
    thanks

    In my case I think the company's main requirement was to have two separate environments (PROD and TEST) open at the same time which I think is fine.
    From memory (don't quote me on this) I don't think the old Personal Home Page is supported from 11.5.10.2 or something.
    I think another option was rather than have multiple sessions, add the two functions you are trying to access to the same menu/responsibility then you can open both at the same time.
    I just use favourites with one forms function from each responsibility and hardly click on or attempt to navigate the responsibility function list ... this mimics the old functionality.
    Also created a few "Copy Favourites" concurrent programs to copy favourites from one user to another or to all users of a responsibility.
    Re the old vs new feel - I know the feeling ;-) Ages ago I logged an SR to see if the dynamic tree portlet you get when you integrate with Portal could be used within core Apps, but wasn't possible per standard. Also thought of throwing together a greasemonkey script to achieve the same, but haven't gotten round to that ;-) and it wouldn't work with IE ... maybe one of the OAF gurus might read this and have a crack at it ?!
    Gareth

  • Multiple server certificate support for the same proxy server

    Does the SunOne proxy server allow multiple server certificates to be configured (for the same instance of the proxy server) and used when connecting to different external servers using https?
    If not, which version / patch will enable this support and most importantly when?

    No. It doesn't.
    Must use multiple proxies on different ports or IP addresses.

  • How do I set up multiple Creative Cloud accounts for the same login?

    I have a number of Macs of various flavors.  I want to install Creative Cloud apps on four of these units.
    I have a subscription currently which I am using for my MBP 17, and a 27" iMac.
    I want to add an account for my MB Air and Mac Pro, and I'm willing to double my subscription fees to do it.  (I use different apps on each of the computers, though I like the idea of having the ability to use them all on each.) How do I accomplish this addtional subscription without having to add a new Adobe account?
    Second Question:
    I have the one-year special on my current subscription due to licensed PS 5.5. ($29.95/mo).  Would I be eligible on my second subscription for the same deal due to the license on the PS 5.5, or would I qualify due to being a Acrobat Pro 8 owner... or Licensed owner of previous versions of PS?  OR.... would I immediately be paying $49.95/mo for the second account?
    Either way, I'm in. Just want to do it all under one account if at all possible.
    Thanks in advance for resolution.  Cheers.

    Currently all subscriptions (with the exception of Team Ready) require a separate Adobe ID for each Creative Cloud Membership. Its not possible to have two memberships under the same Adobe ID.
    Adobe has a Team Ready offering for customers interested in a volume license for Creative Cloud. This is a TLP volume license to Master Collection CS6 and includes licensing for Lightroom and Muse. Customers with this will transition to Creative Cloud Team once available later in 2012. This product uses only a single serial # and Adobe ID. It's not the same as Creative Cloud Membership like what is currently available, but rather a means to get customers setup with something now to transition to the volume license Creative Cloud Team offering once available. If this sounds like something you would be interested in please contact a local Adobe Reseller for more info.
    This link has more info:
    http://www.adobe.com/products/creativesuite/companies.html
    This link can help someone find a reseller in NA
    http://partners.adobe.com/resellerfinder/na/reseller.jsp?nav=al
    I just read over the terms of the introductory offer and it is a 1 per customer offer, so it would be 49.95/mo for a second account.
    https://creativecloud-specialoffer.adobe.com/special-offer/?loc=en_US
    Hope that helps,
    -Dave

  • I'm stuck I've just been charged for the same purchase twice but when I go to report it, I get a message telling me that I can't connect to iTunes!;( I'm totally confused because I've done everything I could think of to try! Can u help

    Please can you help me, I'm stuck!
    It all start when I purchased some coins for the Facebook game bejewelled &amp; it's gone down hill from there.
    First after putting my password I got a message telling me my purchase was unsuccessfull then was prompted to put my password in again which I did &amp; a message flashed up for a second saying something about my purchase being successful but not downloaded but soon after my coins appeared so I didn't think much more of that. UNTIL I got emails showing my purchase, which would fine as nothing is free but I realised I had been invoice twice for the same purchase, so I panick think how can I can my money back, so I clicked on the report a problem highlight in blue &amp; I'm transferred to iTunes, after a short while a message pops up telling me I can't connect to iTunes.
    I've tried lots of different ways to fix this but had no joy, I can't seem to get onto iTunes to get any suport either but it's still letting purchase stuff &amp; look &amp; purchase music &amp; apps though iTunes, I've reset my device &amp; also plug into my laptop, checked all my settings on the device etc:-
    I've ran out of ideas, CAN YOU HELP!;)
    Thanks

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • Filter the content on different queries for the same infoprovider and user

    Hello,
    We are trying to make the following security scenario in BI, and have
    problem with the analysis object concept to filter at query level.
    The idea is to permit to :
    - user A
      - to execute query Q1 and view information about sites 1,2,3
      - to execute query Q2 and view information about sites 4,5,6
    but for example for another user :
    - user B
      - to execute query Q1 and view information about site 1,3
      - to execute query Q2 and view information about site 5,6,7
    Q1 and Q2 are queries from the same infoprovider.
    The idea is to make an automatic generation of analysis objects based
    on the standard program : RSEC_GENERATE_AUTHORIZATIONS.
    During tests, we have faced a problem with the object 0TCTQUERY that we
    thought will permit us to filter at the query level, but unless we add
    the name on the query on a role in the S_RS_COMP authorization object,
    field RSZCOMPID, the query is not granted to the user.
    The fact that we use both authorization objects : one for the query
    definition, and another for the analysis authorization concept
    (S_RS_AUTH, field BIAUTH), has disastrous effect : all values given in
    the analysis objects are for all queries of an indicated infoprovider.
    With that system, it's then not possible to propose dynamically different
    views of the same data (ie from same infoprovider) based on the
    authorization concept unless using the technic of customer-exit variable,
    but with variable you will have a problem with old queries that doesn't
    have a variable and that will permit to see all data given in the new
    authorization objects.
    Is there exists another object to filter at the query level in the
    analysis objects ? If it's not the case, what is possible to do to reach
    our goal with the new authorization concept ?
    Thank you in advance for your help.
    Best regards,
    Gaël.

    The data is protected on infoprovider level and not on the query level,  so when two querys are build from the same Infoprovider then the authorizations are the same,
    To achieve what you want to do,  the querys must be built off different providers.   This can be achieved by placing the infoprovider in 2 differnt multiproviders and building the querys and authorizations seperatly on these.

  • I'm being charged three times for the same service and I can not use it

    Hello, A few months ago I tried to buy Adobe Creative Cloud when putting the data on the card told me that there was a mistake, then I tried other cards ... in short, I'm being charged three times for the same product twice a card and once in another obviously no "mistakes", the problem is that I can not use the product. I want to give low in all three accounts and also be compensated for the time they have charged me three times. Please, I need to solve this urgent problem.

    This is an open forum, not Adobe support... You need Adobe support to cancel a subscription
    -cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

Maybe you are looking for