IN VS 2008 i can run .svc but on production IIS 7 i can\'t. I get this error. i am using x64 win.
I run
C:\\Windows\\Microsoft.NET\\Framework\\v2.5.0.303
I struggled the whole day with this issue. Had all the config stuff right and relevant features installed on server. Found out my app was deployed in an app pool which used the .net clr runtime: Unmanaged code. Changed it to 4.0 and boom works!