[摘]IIS上部署WCF的问题
生活随笔
收集整理的這篇文章主要介紹了
[摘]IIS上部署WCF的问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在Vista IIS 7上寫了一個WCF服務,正想用http: //localhost/MyWebApp/MyWCF.svc看一下有無成功執行,結果傳回以下錯誤:
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.
查了一下,在IIS7上跑WCF要動點手腳,得執行ServiceModelReg.exe註冊WCF: (注意要用Admin身份跑,最簡單的方法是 開始->執行->cmd,然後ctrl-shift-Enter,就會以Admin身份開始命令視窗)
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>servicemodelreg –i
摘自:http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/11/11/wcf-on-iis-7-0.aspx
轉載于:https://www.cnblogs.com/leoxiong/archive/2009/11/25/1610315.html
總結
以上是生活随笔為你收集整理的[摘]IIS上部署WCF的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 常用的JS小功能整理
- 下一篇: android ListView控件滑动