Next step in my adventures in deploying to IIS 7
This time I try to access my webservice (MyService.svc).
HTTP Error 404.3 - Not Found The
page you are requesting cannot be served because of the extension of
the configuration. If the page is a script, add a handler. If the file
should be downloaded, add a MIME map.
The IIS handlers window shows no handler for *.svc.
Solution:
Open a command window
as administratorGo to C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation
Type
ServiceModelReg –i
No need to restart, it just works.
UPDATE .Net 4
Open a command window
as administrator
Go to %windir%\Microsoft.NET\Framework\v4.0.30319
Type
ServiceModelReg –i -c:httpnamespace