500-内部服务器错误

输入服务器出错

HTTP 错误 500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler”

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

原因:在安装Framework v4.0之后,再启用IIS,导致Framework没有完全安装

解决办法:

开始-->所有程序-->附件-->命令提示符-->点击鼠标右键-->以管理员方式运行-->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

再次打开该网页的时候显示正常

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”


注:显示详细错误信息的办法

1.在服务器中点击  “服务器管理器-->角色-->Web服务器-->Internet信息服务-->iZmswfrfqsevOpZ-->网站-->Default Web Site-->双击ASP”

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

2.在出现的界面中选择“调试属性”

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

3.“将错误发送到浏览器”置为true

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

4.双击IIS中的“错误页”

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

5.点击“编辑功能设置-->详细错误-->确定”,这样设置后如果有错误会在浏览器中显示详细的错误报告

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”

如按上述进行设置后,打开网址后出现的内容是

阿里云服务器错误:500-内部服务器错误,500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”


相关文章:

  • 2021-06-04
  • 2021-11-23
  • 2022-12-23
  • 2021-05-11
  • 2021-09-22
  • 2021-06-07
  • 2022-12-23
  • 2021-10-22
猜你喜欢
  • 2021-05-29
  • 2021-12-06
  • 2021-05-06
相关资源
相似解决方案