Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi All , Please help me
I created asp.net site on IIs and I got this Error

<compilation debug="true" targetFramework="4.5" />


( I'm using Visual Studio 2012 )

--> Then I installed IIS 7 & .Net FrameWork 4.5 on windows
and I got this Error
HTTP Error 500.21 - Internal Server Error The list of modules manager "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler"


--> I tried this Solution
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i


But Nothing Changed :(

What Can I do ?
Please help me
How can I open Asp.net Site on IIS or other Server like Apache or ..

What I have tried:

Run Asp.net Site on IIS or outside IIS
Posted
Updated 26-Jul-16 5:40am
Comments
F-ES Sitecore 26-Jul-16 9:53am    
Check the app pool for the site is configured to use 4.0 and not 2.0.

1 solution

C#
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



Fixing HTTP Error 500.21 &#8211; Internal Server Error Handler &#8220;WebServiceHandlerFactory-Integrated&#8221; has a bad module &#8220;ManagedPipelineHandler&#8221; in its module list on IIS. | A Windows System Admin&#039;s Blog[^]
 
Share this answer
 
v2

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