While building WCF REST service if you get below error message Image 1 WCF REST service if you get below error message Then make sure your WCF service Project’s web.config file should have below System.ServiceModel setting.