Hi @Athulya Pillai,
Thank you for posting in this community.
The cause of the problem: An allow list of ASP.NET controls is enforced in SharePoint 2016 after you install updates. If web parts or controls on the SharePoint pages are not added to the allow list, the pages do not render.
Solution:
1.Find your web application's web.config
file. The approximate path should be:
the address of your installation:\inetpub\wwwroot\wss\VirtualDirectories\ the port number of your web applicaiton
2.Find the <SafeControls>
tag and add the following to it:
<SafeControl Assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.HtmlControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" SafeAgainstScript="False" />
You can refer to your other System.Web.UI.WebControls
values for the values of Version
and PublicKeyToken
, just be consistent with them.
3.Save the file and restart IIS.
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.