asp.net - "The page you are requesting cannot be served because of the extension configuration."错误消息

标签 asp.net iis

我在尝试运行我的应用程序时收到此错误消息。我不知道如何解决它:

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

这是错误页面的屏幕截图: alt text

我该如何修复此错误?

最佳答案

在 Windows 8/10 中,您必须使用

  • 打开控制面板 →
  • 程序和功能 →
  • 打开或关闭 Windows 功能 →
  • 互联网信息服务 (IIS) →
  • 万维网服务 →
  • 应用程序开发功能 →
  • 检查适当的项目,例如启用 ASP.NET。 (即安装您想要用来配置网站的适当版本)

引用:Check the solution of this question for reference

关于asp.net - "The page you are requesting cannot be served because of the extension configuration."错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4388066/

相关文章:

asp.net - 如何在同一服务器上托管 Web 应用程序和 API,同时将它们分开?

javascript - 未捕获的语法错误 : Unexpected token < in inline. bundle.js:1 - Angular v4

asp.net-mvc - 在 ASP.NET MVC 中使用线程设置当前区域性

c# - 如何以一种将用户输入文本视为纯文本的方式显示用户输入文本,即使它有 html 标签?

c# - 是否可以覆盖 CaSTLe Windsor 3 中的命名注册?

javascript - 如何在 asp.net 和 javascript 中将文本框中键入的项目显示到另一个文本框或 div 中?

asp.net - 避免表单重新提交

java - 通过 pfx 文件将 SSL 证书导入 Java Keystore

iis - 将 ASP.NET MVC 4 部署到暂存并最终部署到 Windows Azure

iis - 使用 IIS 在 Windows 上部署 Java Servlet 应用程序