After upgrading WCF (or NetFx-3.0) from an older beta version to RC1, I get “Page Not Found” (404) error or get the plain text content of the .svc file for .svc files. Is .svc extension removed from IIS?
Refer the Blog for More Details and the Solution:
Another, simple solution to this problem:
Go to Start –> Program Files –> Microsoft Windows SDK –>CMD Shell
and execute the commands in sequence:
This will clean up the messed IIS metabase.