[iis] 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.

Posted in :

拿到別人寫的 C# 寫的 WCF service 的 code, 放到 IIS 上跑會顯示 404.3 的 Error.

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.

解法:

go to control panel or use search  -> ‘Turn Windows feature on or off‘ ->

I just went to ‘Add roles and features’ and in the Features part I checked ‘HTTP activation‘ on ‘.Net Framework 4.5 Features‘ -> ‘WCF Services‘.

 

 

 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *