Wcf – Configuring WCF in IIS7 & Windows 7

iis-7uacwcfwindows 7

I am having a problem when I try to browse WCF service (.svc file) which is hosted in IIS7 & Windows7. It throws following 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.

I tried to run ServiceModelReg, but it say I should have admin rights in order to run this, although I am admin on this machine.

Does any one know how to resolve this issue.

Best Answer

FInally....

I am able to resolve this issue.

I ran following two command and it solved the problem.

aspnet_regiis -i & ServiceModelReg -i

Even though I am admin on the machine, I need to run this 2 commands by right click and select 'Run as Admin'.