Click here to Skip to main content
11,721,385 members (83,415 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: IIS7 ASP.NET Deployment
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 at 28-Jan-14 14:21pm

I faced the same issue , after executing aspnet_regiis.exe -I
My issue got resolved.
Rampreet Sahani at 8-Jan-15 2:01am
Hello I m not getting solve this pro plz
Ashok8033 at 19-Apr-14 0:21am
how u resolved i still getting this error!
Member 8076338 at 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 at 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 at 8-Jan-15 2:05am
No It is not resolve
Member 8076338 at 20-Apr-14 23:27pm
Thank You. it resolved also my issue. Thanks.
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 at 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
0 Sergey Alexandrovich Kryukov 440
1 OriginalGriff 229
2 Mika Wendelius 170
3 F-ES Sitecore 80
4 cyycoish 70
0 Sergey Alexandrovich Kryukov 2,209
1 OriginalGriff 969
2 F-ES Sitecore 660
3 Maciej Los 609
4 Richard MacCutchan 560

Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 20 Nov 2014
Copyright © CodeProject, 1999-2015
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