WCF/WF - how to host wcf services - Asked By pankaj singh on 28-Mar-13 09:45 AM

HI expert

Please let me out from this bug

The type 'WcfService1.Service1', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

When i hosting my web service
Danasegarane Arunachalam replied to pankaj singh on 29-Mar-13 12:59 PM
You might have created sample web service template of visual studio and then renamed your service class. And this leaves the service name attribute of the app.config to WcfService1.Service1, open the app.config file and search for the word WcfService1.Service1 and rename this to reflect the class name.