Click here to Skip to main content
13,003,150 members (57,971 online)
Rate this:
Please Sign up or sign in to vote.
when i acces from my browser an web site project deployed using using iis7 i get the current error.
HTTP Error 500.21 - Internal Server Error The list of modules manager "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler"
As i search there are two solutions
-Install ASP.NET if you're using a managed code.
-Make sure the module name of the manager is correctly specified. Module names are case sensitive and use format modules = "StaticFileModule, DefaultDocumentModule, DirectoryListingModule".
but i don't know what they mean by 'you're using managed code' in the first solution and 'module name of the manager' in the second.
Posted 28-Jun-12 6:19am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Hi i was also getting same error i solved it please follow the steps the command prompt as administrator
2.type the line in the command prompt below any one

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i


%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

dont change the directory of cmd
Sivakumar_Aruchamy 28-Jan-14 14:21pm

I faced the same issue , after executing aspnet_regiis.exe -I
My issue got resolved.
Rampreet Sahani 8-Jan-15 2:01am
Hello I m not getting solve this pro plz
Ashok8033 19-Apr-14 0:21am
how u resolved i still getting this error!
Member 8076338 20-Apr-14 23:30pm
Gudam, Ashok8033, after you run the aspnet_regiis.exe using cmd, try to open cmd as administrator then type iisreset.
to reboot your IIS, then try again. :)Hope it will help.
Member 10834062 30-Jul-14 8:36am
hi, member8076338 i ran the aspnet_regiis.exe -i in cmd prompt. and restarted IIS but it doesnt help. Also still getting this error.
Rampreet Sahani 8-Jan-15 2:05am
No It is not resolve
Member 8076338 20-Apr-14 23:27pm
Thank You. it resolved also my issue. Thanks.
Member 13207405 17-May-17 22:27pm
Thank you, the first command line solved my long term issue...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Managed code means you are using .NET code. What this error is saying is that it does not know how to handle ASP.NET pages. It sounds like ASP.NET is not properly registered on your IIS box. Here is a link that should help you get it registered:[^]
Lijish LijishBhavan 18-Jun-15 0:22am
Its working....Thank you...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

thank u so much it worked for me...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170626.1 | Last Updated 20 Nov 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100