“由于扩展配置,无法提供您请求的页面."错误信息 [英] "The page you are requesting cannot be served because of the extension configuration." error message
问题描述
我在尝试运行我的应用程序时收到此错误消息.我不知道如何解决它:
I'm getting this error message when trying to run my application. I don't know how to fix it:
HTTP 错误 404.3 - 未找到页面无法为您请求提供服务因为延长配置.如果页面是脚本,添加处理程序.如果文件应该下载,添加一个 MIME 映射.
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.
错误页面截图如下:
我该怎么做才能解决这个错误?
What can I do to fix this error?
推荐答案
使用 aspnet_regiis.exe 注册您正在使用的 .NET 框架版本.
Use aspnet_regiis.exe to register version of .NET framework you are using.
这是一个常见问题,在 VS 或 .NET 框架之后安装 IIS 时会发生.
This is a common issue and happens when IIS is installed after VS or .NET framework.
注意 - 对于 Windows 8/10 用户,请参阅下面 JohnOpincar 的另一个答案.还有来自 Kevin Brydon 的评论/提示.
Note - for Windows 8/10 users, see the other answer by JohnOpincar below. And also the comment/tip from Kevin Brydon.
这篇关于“由于扩展配置,无法提供您请求的页面."错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!