当我访问使用iis 7部署的网站项目时,我收到HTTP错误500.21 [英] i get HTTP Error 500.21 when i access a web site project deployed using iis 7

查看:103
本文介绍了当我访问使用iis 7部署的网站项目时,我收到HTTP错误500.21的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从浏览器访问使用iis7部署的网站项目时,我得到当前错误。

HTTP错误500.21 - 内部服务器错误模块管理器PageHandlerFactory-Integrated的列表有一个坏模块ManagedPipelineHandler

我搜索有两种解决方案

- 如果你使用的是托管代码,请安装ASP.NET。

- 确保正确指定了管理器的模块名称。模块名称区分大小写,并使用格式模块=StaticFileModule,DefaultDocumentModule,DirectoryListingModule。

但我不知道他们在第一个解决方案中使用托管代码是什么意思第二个经理的模块名称。

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.

推荐答案

您好我也得到同样的错误我解决了它请按照步骤

1 .run命令提示符为管理员

2.在命令提示符下面键入任何一行



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







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



不要更改cmd的目录
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


托管代码意味着您正在使用.NET代码。这个错误说的是它不知道如何处理ASP.NET页面。听起来好像ASP.NET没有在IIS框中正确注册。这是一个可以帮助您注册的链接:



HTTP://www.winsysadminblog .COM / 2011/08 /固定-HTTP错误-500-21-内部服务器错误处理 - webservicehandlerfactory集成,具有-A-坏模块managedpipelinehandler功能于它的模块列表上-IIS / [ ^ ]
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/[^]


thanks你这么多对我有用......
thank u so much it worked for me...


这篇关于当我访问使用iis 7部署的网站项目时,我收到HTTP错误500.21的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆