我刚刚在VS2013中使用framework 3.5创建了WCF服务应用程序。用于公开我在类库项目中使用的一些方法。IIS Express错误http 404.17 - 未找到运行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表达式中我有点不知所措。
我没有IIS安装在这台机器上,因为我使用的是远程的,但我需要调试一些东西,并且卡住了。谢谢你的帮助。
我也用可视命令提示符运行了servicesmodelreg -i,但错误仍然存在。
UPDATE
这可能是有用的,以clarfy所以它是影响发展它只发生在IIS表达。我将VS2013更新为运行Win 8.1 64bit的最新补丁
怎么样?我只是这样做,但错误仍然存在。我也发现了这一点,但也没有工作。我刚刚更新了一下条目 –
这个http://gasparnagy.com/2014/01/enable-net-4-0-wcf-hosing-in-iis-8/#comment-144 –
当你运行命令时你指出,似乎没有发生任何事情,也没有好也不坏。而这个错误依然存在。任何澄清将很高兴 –