Click here to Skip to main content
15,887,391 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I Run Asp.net through IIS in localhost the problem arises:


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


Pls can U tell how to solve?
Posted
Comments
Bojjaiah 1-Apr-13 9:45am    
run this
C:\Windows\winsxs\x86_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.1.7600.16385_none_10bfc8e81625ecbd\appcmd.exe

it will create handlers

Generally, this error occurs because the Microsoft .NET Framework 4.0 configuration for ASP .NET has been damaged. You must repair the .NET Framework 4.0.30319 version at a command prompt.

A quick fix, do:
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i 
OR
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
 
Share this answer
 
Comments
Darpan Dahal 7-Apr-13 8:19am    
Thanks!
pls write complete DOS command.
 
Share this answer
 
Comments
[no name] 1-Apr-13 10:41am    
This not a solution to the question. Sandeep has already supplied the DOS command to fix your problem so what other DOS command is it that you require?
Darpan Dahal 7-Apr-13 8:19am    
thanks!

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