SharePoint 2019 Modern View - Issue with adding Quick Link App

Mayank Bhargava 21 Reputation points

I Have SharePoint 2019 OOB Modern Site and When I add Quick Link webpart as shown below 238505-screen1-quicklink.png

Than When I click on Add A Link and Select Site from the Popup Dialog Window Below error comes

An error occurred during the compilation of the requested file, or one of its dependencies. The type 'Microsoft.SharePoint.WebControls.ModuleLink' exists in both 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint\v4.0_16.0.0.0__71e9bce111e9429c\Microsoft.SharePoint.dll <c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint\v4.0_16.0.0.0__71e9bce111e9429c\Microsoft.SharePoint.dll> ' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint.Client\v4.0_16.0.0.0__71e9bce111e9429c\Microsoft.SharePoint.Client.dll <c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint.Client\v4.0_16.0.0.0__71e9bce111e9429c\Microsoft.SharePoint.Client.dll> '

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,655 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 19,481 Reputation points Microsoft Vendor

    Hi @Mayank Bhargava ,
    After my testing and searching(my sharepoint 2019 version is 16.0.10337.12109), I couldn't reproduce your problem, have you added code to this page?
    You can try the following first to see if that resolves the issue:

    1. Whether all SharePoint pages have the same problem? You could create a new SharePoint page add Quick Link webpart to check.
    2. Check if the same issue occurs with other SharePoint sites 、 site collections and web applications.
      If that does not help, please check the ULS logs and the Windows event viewer for more detailed error message.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.