Skip to main content

HTTP Error 500.21 Internal Server Error Handler config has a bad module ManagedPipelineHandler in its module list error converting to a Remote Site


QAID # 19060 Published 

Question / Problem:

I encounter the following error converting a machine to a Remote Site:

HTTP Error 500.21 - Internal Server Error. Handler 'config' has a bad module 'ManagedPipelineHandler' in its module list.


Answer / Solution:

Re-registering the latest .NET Framework installed on the machine resolves this issue.

To re-register .NET Framework:

  1. Run a Command Prompt as Administrator.
  2. Change Directory to C:\Windows\Microsoft.NET\Framework\vx.x.xxxxx (Specify the latest .NET Framework folder.)
  3. Run aspnet_regiis.exe -i
    A Finished installing ASP.NET (x.x.xxxxx) message will be displayed if the .NET Framework has been successfully registered.

Applies to:

Product Version