SharePoint Event Reciever ListURL issue

SHUO .H 706 Reputation points
2021-08-12T09:34:06.627+00:00

Hi there,

I try to assign a new ListURL in SharePoint Event Receiver for a Document Library and install it by vs .net as shown below: But the error message "
Error occurred in deployment step 'Activate Features': Sample.EventHandler_101"
comes up. After that I went to "Manage site features", the message "The list "wwa/Shared%20Documents" doesn't exist. Please fix the ListUrl attribute.". Actually the URL is correct, does anyone have any ideas on it. thanks.

**

  • wwa/Shared%20Documents: the document library is under a subsite called <wwa>. the document library is default library and URL

**

122668-image.png

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,259 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,731 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,582 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,016 Reputation points
    2021-08-13T03:02:34.953+00:00

    Hi @SHUO .H ,

    Try to change ListUrl to Shared%20Documents: ListUrl= "Shared%20Documents". Check if it works for you.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful