Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
4.80/5 (4 votes)
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

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:

http://www.winsysadminblog.com/2011/08/fixing-http-error-500-21-internal-server-error-handler-webservicehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list-on-iis/[^]
 
Share this answer
 
Comments
Lijish LijishBhavan 18-Jun-15 0:22am    
Its working....Thank you...
Hi i was also getting same error i solved it please follow the steps
1.run 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

or

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

dont change the directory of cmd
 
Share this answer
 
Comments
Sivakumar_Aruchamy 28-Jan-14 14:21pm    
Thanks.

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.
thank u so much it worked for me...
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900