I have a website that is hosted on IIS6 and set to use .NET 4.0, but I still have a WCF service on the site that is using 3.5. When i browse my svc file, i get the error:
unrecognized attribute 'targetFramework'
and it point to the websites root web.config. I have tried this MSDN article and still get the same error. My site is using a different app pool than my WCF service, and is configured to use 4.0 in the ASP.NET tab of properties. I have also checked and made sure that my WCF service is using 3.5(2.0) in its ASP.NET properties tab.