500.21 错误模块“ManagedPipelineHandler";在其模块列表中

编程入门 行业动态 更新时间:2024-10-20 09:33:55
本文介绍了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.NETFramework64v4.0.30319aspnet_regiis.exe -i

%windir%Microsoft.NETFrameworkv4.0.21006aspnet_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:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1590953.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模块   错误   列表中   quot   ManagedPipelineHandler

发布评论

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

>www.elefans.com

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