.svc extension not working in Windows Vista or Windows 7

In windows vista or Windows 7 .svc extension / MIME type is not configured by default. So when executing any WCF service call a 404 error will be issued.

This problem can be solved by the following command:

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>Service
ModelReg.exe –i

This assumes windows in installed in C drive.

Published 09-25-2009 5:25 PM by Jalal
Filed under: ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems