500.21错误的模块“ManagedPipelineHandler”在其模块列表中

编程入门 行业动态 更新时间:2024-10-20 16:37:08
本文介绍了500.21错误的模块“ManagedPipelineHandler”在其模块列表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我收到错误:

HTTP错误500.21 - 内部服务器错误处理程序CloudConnectHandler在其模块列表中有一个错误的模块ManagedPipelineHandler

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

我的web.config文件如下所示:

my web.config file looks like this:

<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="CloudConnectHandler" verb="*" path="CloudConnect.aspx" type="CloudConnectHandler" resourceType="Unspecified" /> </handlers> </system.webServer> <system.web> <customErrors mode="Off" /> <compilation debug="true" targetFramework="4.0" batch="false"> <assemblies> <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> </assemblies> </compilation> <pages> <controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> </controls> </pages> <identity impersonate="true" /> <authentication mode="Forms" /> </system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v4.0" /> <providerOption name="WarnAsError" value="false" /> </compiler> </compilers> </system.codedom> <appSettings> <add key="CloudConnectAuthorization" value="xxxx" /> <add key="ConnectionInfo" value="xxxx" /> <add key="ConnectionString" value="xxxx" /> <add key="DefaultChannel" value="xxxx" /> <add key="LoginValidationConnectionString" value="xxxx" /> </appSettings> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="protobuf-net" publicKeyToken="257b51d87d2e4d67" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.0.0.640" newVersion="2.0.0.640" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration>

有很多建议表明asp安装不正确。通常的解决方法是运行:

There is a lot of advice out there indicating that asp is not installed correctly. The usual fix is to run:

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

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

我已经运行了两个,没有任何错误。我已重新启动IIS,但问题仍然存在。该站点正在使用应用程序池。应用程序池已启动, framework = 4.0,Managed Pipeline = Classic,Identity = LocalSystem。

I have run both, without any errors. I have restarted IIS, but the problem still persists. The site is using an application pool. The app pool is started, framework = 4.0, Managed Pipeline = Classic, Identity = LocalSystem.

我花了最后几个小时试图弄清楚是什么问题是。我希望有人可以提供帮助。

I've spent the last couple hours trying to figure out what the problem is. I'm hoping someone can help.

推荐答案

尝试切换到集成模式。请参阅以下主题:

Try switching to Integrated mode. See the following thread:

IIS 7,HttpHandler和HTTP错误500.21

更多推荐

500.21错误的模块“ManagedPipelineHandler”在其模块列表中

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

发布评论

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

>www.elefans.com

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