Subscribe to Youtube channel

HTTP Error 500.21 - Internal Server Error - Simple Solution

HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.

If you getting above error after publishing your asp.net application in IIS 7 then following is the simplest solution for you.

  • Go to command prompt.
  • Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319 path.
  • Then type aspnet_regiis.exe -i and hit enter.
  • If you got message like "Asp.net installed suuccessfully" then you have done it then.
  • Remember you must have administrator rights to do the above procedure.


Comments

Popular posts from this blog

Implement Logging in CSV file using Nlog in .net core MVC application- part 2

Implement Nlog in .Net core MVC application part 1

Devexpress Datebox date formatting in angular 6 with example

Disable backspace key using Jquery

Angular User Session Timeout example step by step

Restore the lost focus of Auto post back controls in asp.net update Panel control

How to Import CSV File and bind csv file data to gridview in asp.net using c#

Remove Owin from MVC 5 Application and use asp.net custom forms authentication

Clone a generic list in C# using extension method