ASP.NET IIS 7.5 HTTP 500.21错误

编程入门 行业动态 更新时间:2024-10-26 22:28:43
本文介绍了ASP.NET IIS 7.5 HTTP 500.21错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在设置本地站点时遇到问题。

I am having an issue setting up a local site.

该项目正在使用ASP.NET Framework 4.0,我使用DefaultAppPool将4.0与托管管道模式一起使用as integrated。

The project is using ASP.NET Framework 4.0 and I have my DefaultAppPool to use 4.0 with Managed Pipeline Mode as Integrated.

这是我得到的错误:

HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list Module IIS Web Core Notification ExecuteRequestHandler Handler PageHandlerFactory-Integrated Error Code 0x8007000d Requested URL localhost:80/default.aspx Physical Path C:\Snugabye\Website\default.aspx Logon Method Anonymous Logon User Anonymous Most likely causes: Managed handler is used; however, ASP.NET is not installed or is not installed completely. There is a typographical error in the configuration for the handler module list. Things you can try: Install ASP.NET if you are using managed handler. Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".

在控制面板 - >程序 - >打开/关闭窗口功能所有我看到的是Microsoft .NET框架3.5.1并没有关于4.0的东西我有什么遗漏?

Under Control Panel -> Programs -> Turn Window features on / off all I see is Microsoft .NET Framework 3.5.1 and nothing regarding 4.0 is there something I am missing?

推荐答案

您是否在IIS中注册了.NET? 如果没有运行以下命令:

Did you register .NET with IIS? If not run the following commands:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

您需要从提升的命令提示符(...以管理员身份运行)执行此操作。

You need to do this from an elevated command prompt (...run as admin).

更多推荐

ASP.NET IIS 7.5 HTTP 500.21错误

本文发布于:2023-11-12 04:48:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580547.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   IIS   NET   ASP   HTTP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!