The control type 'System.Web.UI.HtmlControls.HtmlAnchor' is not allowed on this page.

shashidhar joliholi 286 Reputation points
2023-09-20T03:05:49.73+00:00

Hi All,

recently we have updated below KB's.

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

Microsoft Security | Microsoft Identity Manager
{count} vote

2 answers

Sort by: Most helpful
  1. Leo Erlandsson 1,666 Reputation points
    2023-09-20T12:56:58.5666667+00:00

    $f=get-spfarm
    $f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-title-text")
    $f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-link-to-tab-text")
    $f.update()
    iisreset

    5 people found this answer helpful.

  2. 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>
    
    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.