【发布时间】:2012-07-12 16:38:52
【问题描述】:
当我尝试在 Windows 8 机器上的 IIS 上提供 WCF 服务时,我收到了众所周知的错误
由于扩展配置,无法提供您请求的页面。如果页面是脚本,则添加处理程序。如果要下载文件,请添加 MIME 映射。
旧的解决方法是运行 aspnet_regiis -i,但此命令似乎已在 Windows 8 中被弃用,产生响应 This option is not supported on this version of the operating system. (...)。
解决办法是什么?
(我已经成功启用了常规的aspx 页面,所以大部分 IIS 配置看起来都很健康。)
【问题讨论】:
-
有关 Windows 8 之前用户的
aspnet_regiis -i命令的详细信息,请参阅此链接:aspsnippets.com/Articles/…