Fixing “PageHandlerFactory-Integrated” bad module “ManagedPipelineHandler in IIS7” error

After installing framwok 4.0 on IIS or after installing visual studio, some problems may occur in the config file on IIS. If you get

“PageHandlerFactory-Integrated” bad module “ManagedPipelineHandler in IIS7″ error when you run your aspnet application. You can solve it by following the steps below.

For the solution, you need to apply the following
commands from the start / run section.

%windir%Microsoft.NETFrameworkv4.0.30319aspnet_regiis. exe –i

For 64-bit applications, we run the following code.

%windir%Microsoft.NETFramework64v4.0.30319aspnet_regiis.exe –i

<

Then you need to reset IIS for the application to be active.

Leave a Reply

Your email address will not be published. Required fields are marked *