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

shashidhar joliholi 276 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 Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
754 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Leo Erlandsson 1,661 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

    4 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 Answers by the question author, which helps users to know the answer solved the author's problem.