博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

HTTP Error 500.21 - Internal Server Error

Posted on 2012-03-19 11:11  止水  阅读(303)  评论(0)    收藏  举报
" HTTP Error 500.21 - Internal Server Error

Handler "svc-Integrated" has a bad module "ManagedPipelineHandler" in its  module list"

Solution:


 

Here it is the solution:

1) Click on “Start” -> “Run” -> Enter “cmd” to launch “Command Prompt

2) Type: “C:” and press “Enter

3) Enter the following command on the command prompt
cd “WINDOWSMicrosoft.NETFrameworkv4.0.30319″ <-for 32bit machine
cd “WINDOWSMicrosoft.NETFramework64v4.0.30319″ <-for 64bit machine
The version number maybe different on different machine, at the moment the .net framework which installed on my machine is v4.0.30319.
If you could not found it you can try to use the search feature on Windows to local “aspnet_regiis.exe” file
4) Then you can enter the following command to register asp.net to your IIS server
aspnet_regiis.exe -i