After you install one of the following updates, some ghosted pages in Microsoft SharePoint don't render:
- Description of the security update for SharePoint Server 2019: September 8, 2020 (KB 4484505)
- September 21, 2020, update for SharePoint Server 2019 (KB4461512)
- Description of the security update for SharePoint Enterprise Server 2016: September 8, 2020 (KB 4484506)
- Description of the security update for SharePoint Foundation 2013: September 8, 2020 (KB 4484525)
- Description of the security update for SharePoint Foundation 2010: September 8, 2020 (KB 4486667)
For example, Microsoft Identity Manager (MIM) portal pages and some customized pages that are deployed through SharePoint Solution don't render.
Additionally, you may experience one or more of the following scenarios.
Scenario 1
The blocked ghosted page displays one of the following error messages:
- The attribute 'autoeventwireup' is not allowed in this page.
- The attribute 'enablesessionstate' is not allowed in this page.
- Code blocks are not allowed in this file.
- The event handler 'OnSelectedIndexChanged' is not allowed in this page.
Note The event in the last error message could also be some other event, such as "OnClick."
Scenario 2
The blocked ghosted page displays the following error message:
UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.
Scenario 3
The blocked ghosted page displays the following error message:
The referenced file '/_layouts/somedirectory/affectedusercontrol.ascx' is not allowed on this page.