Asif Maniar

Software Engineer
posts - 16 , trackbacks - 0

Tuesday, August 31, 2010

WCF and IIS7: 404 - File or Directory not found

Ever been puzzled by the 404 - File or Directory not found error message when deploying a WCF service to a new .NET/IIS7 installation?

The error seems to indicate that the .svc file could not be located even though it’s present in the website.

This usually is a side effect of the server not having WCF Activation feature turned on. As soon as you turn it on in the Add features wizard your WCF service will be served correctly by IIS.

 

Posted On Tuesday, August 31, 2010 4:48 PM | Comments (5) | Filed Under [ ASP.NET wcf IIS ]

Powered by: