$f=get-spfarm
$f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-title-text")
$f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-link-to-tab-text")
$f.update()
iisreset
The control type 'System.Web.UI.HtmlControls.HtmlAnchor' is not allowed on this page.
shashidhar joliholi
276
Reputation points
Hi All,
recently we have updated below KB's.
- KB 5002472 – September 2023 Update for SharePoint Server 2019 (language independent)
This is also a security update! - KB 5002471 – September 2023 Update for SharePoint Server 2019 (language dependent)
- September 12, 2023-KB5030178 Cumulative Update for .NET Framework 3.5, 4.7.2 and 4.8 for Windows 10, version 1809 and Windows Server 2019 - Microsoft Support
Post that, if we click any of the object in MIM portal, we are getting below error.
Sorry, something went wrong
The control type 'System.Web.UI.HtmlControls.HtmlAnchor' is not allowed on this page.
Need your help!
Shashidhar Joliholi
2 answers
Sort by: Most helpful
-
Leo Erlandsson 1,661 Reputation points
2023-09-20T12:56:58.5666667+00:00 -
Mohammed Sharkawy 5 Reputation points
2024-08-07T08:16:13.5966667+00:00 Hello,
i opend a case with Microsoft and got the solution by adding the below line in the web.config, and the issue solved.
<PageParserPaths> <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" AllowUnsafeControls="true" IncludeSubFolders="true" /> </PageParserPaths>