2008年2月14日 星期四

HTTP Error 404.3 - Not Found

在使用 WCF 時,Service.svc出現了 如下的錯誤訊息

Server Error in Application "Default Web Site/IssueTracking"

--------------------------------------------------------------------------------

HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Error Code: 0x80070032

Notification: ExecuteRequestHandler

Module: StaticFileModule

Requested URL: http://localhost:80/IssueTracking/IssueService.svc


Physical Path: C:\Users\charles.BANKPRO\Documents\Visual Studio 2008\Projects\IssueTracking\IssueTracking\IssueService.svc

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile

Most likely causes:


原因是我在安裝Vista時,尚未安裝 IIS 7.0,就先裝了 VS2008。因此,得必須自己手動註冊資訊。
除了 aspnet_regiis -i 外 (for asp.net 2.0)
也必須到
c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>ServiceModelReg -i

沒有留言:

Share with Facebook