gpt4 book ai didi

wcf - IIS Express 错误 http 404.17 – 未发现正在运行 WCF 服务

转载 作者:行者123 更新时间:2023-12-01 19:12:54 25 4
gpt4 key购买 nike

我刚刚在 VS2013 中使用框架 3.5 创建了一个 WCF 服务应用程序。用于公开我在类库项目中拥有的一些方法。

一切都很顺利,但是当我尝试查看服务是否运行时,却没有运行。相反,我收到了下一个错误。

HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler.

Most likely causes: The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.

Things you can try: If you want to serve this content as a static file, add an explicit MIME map.

我已经在 IIS 上处理过这个问题,但现在在 IIS Express 中我有点迷失了。

我没有在这台计算机上安装 IIS,因为我使用的是远程计算机,但我需要调试一些东西,但我陷入了困境。感谢您的帮助。

我还使用可视命令提示符运行了 servicesmodelreg -i,但错误仍然存​​在。

更新

澄清它只发生在 IIS Express 中可能会很有用,因此它会影响开发。我已将 VS2013 更新到最新补丁,在 Win 8.1 64 位上运行

最佳答案

尝试运行“C:\Program Files\IIS Express>Wscript.exe WCF35Setup.js install”,该脚本用于在 IIS Express 上启用 WCF 3.5 服务。引用:http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-75-express-readme

关于wcf - IIS Express 错误 http 404.17 – 未发现正在运行 WCF 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22201617/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com