Timeline for Error occurred in deployment step 'Activate Features': The list "Lists/Issue Manage" doesn't exist. Please fix the ListUrl attribute
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
|
|
Oct 12, 2016 at 14:35 | comment | added | John John | ..i know this will cause the ER to get fired always(maybe a performance drawback) , but no effect will happen unless the items are under a list named "Manage",, i mean this appraoch is a workaround to the listurl and listtempleteid which seems is not working in my case.. what do you think ? | |
Oct 12, 2016 at 14:35 | comment | added | John John | but in my case i have a list named "Manage" and this list can be found inside many sub-sites ,, and I want my event receiver to get attached to all the lists which have their names (title) = "Manage" so it is not a single list .. it is a list that can be found on multiple sub-sites... so i can define the scope of the event receiver to be Web , which mean the event receiver will get fired on all the lists inside the sub-site, but i will add a condition inside the ER to check for the list name ="Manage". | |
Oct 12, 2016 at 13:30 | comment | added | Nadeem Yousuf-AIS | If that is the case you can programatically attach the event with a particular list. | |
Oct 12, 2016 at 13:26 | comment | added | John John | second point i have, now i read a lot of articles where users reported that the ListURL is not working as expected. so to make things simpler, i can deploy the feature as-is with "listtempleteid=1100" (Issue Tracking),then inside my event receiver itself to add a condition to check the list name and/or the content type inside the Event Receiver, and then execute the update operations only if the list name and content type meet the requirements.in this case whenever the ER get fired, the actual update operations will not happen unless the list name and/or content type is met. what do u think? | |
Oct 12, 2016 at 13:23 | comment | added | John John | so what could be causing my site collection to be in a bad state ? as the event receiver is firing but it is firing on all lists ,, so this indicates that the problem might be within the event receiver itself and not inside the site collection is this correct ? | |
Oct 12, 2016 at 12:53 | comment | added | Nadeem Yousuf-AIS | You don't need to deploy whole solution of yours, just create an empty project with event receiver and check if above works in new site collection. That will determine if your current site is in good state or not. | |
Oct 12, 2016 at 12:45 | comment | added | John John | the problem is that my event receiver reference and use many custom site columns,, so it is not easy to create a new site collection with all the custom modifications inside it ..any other suggestions ?and can you please adivce on my above 3 question inside my comments ? | |
Oct 12, 2016 at 12:43 | comment | added | John John | additional note now i have also tried to specify the scope inside the elements.xml as follow ""<Receivers ListTemplateId="101" Scope="Web"> but still the event revicer will get fired on all the lists | |
Oct 12, 2016 at 12:42 | comment | added | Nadeem Yousuf-AIS | May I suggest you to try this on a fresh site collection? | |
Oct 12, 2016 at 12:31 | comment | added | John John | second point now in my case the lists have the following display name "Manage" while their urls are "Issue Manage" as i have rename the lists long time ago (from "Issue Manage" to "Manage" using the UI).. so their names are different that their urls,, now when i use ListURL should i include the display name "Manage" or the url "Issue Manage". third point now regardless of using ListURL or ListTempleteid both is going to fire the event receiver for all the lists (so restricting the ER using these approaches are not working)...so what is the reasons? | |
Oct 12, 2016 at 12:31 | comment | added | John John | Sorry i wrongly typed the list URL. so the list url is "lists/Issue Manage". first question now in my case i set the scope of the solution as "Web" be selecting this from the Scope dropdown list , and i define the following inside the element.xml "<Receivers ListTemplateId="101">" this mean that the event receiver should only work on document libraries.. but i tried adding an issue tracking item and the event receiver got fired!. | |
Oct 12, 2016 at 3:36 | history | answered | Nadeem Yousuf-AIS | CC BY-SA 3.0 |