Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
381 views
in Technique[技术] by (71.8m points)

HTTP Error 404.3 - Not Found" while browsing wcf service on Windows Server 2008(64bit)

I am developing an application based on .Net Framework 3.5 sp1 and hosted on windows server 2008(64bit).

While browsing wcf service (.svc) locally every things is ok but while browsing with full domain URL, it got an error.

local address is like this: http://localhost/MyService.svc

and domain address is like this: http://MySite.ir/MyService.svc

by the way pages (.aspx) and other files work correctly both on localhost and with domain address.

any Idea would be appreciated

Here is detailed 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. Detailed Error Information

Module: StaticFileModule

Notification: ExecuteRequestHandler

Handler: StaticFile

Error Code: 0x80070032

Requested URL: http://MySite.ir:80/MyService.svc

Physical Path: D:inetpubvhostsMySite.irhttpdocsMyService.svc

Logon Method: Anonymous

Logon User Anonymous

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Please make sure you've activated WCF components from here.

Or alternate and easy way is, go to control panel -> Turn Windows feature on or off -> and make sure you've all the options ticked as mentioned in below screenshot.

enter image description here

You might need to activate each box and accept in case you get errors when activating all features at once


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...