Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 03, 2012 06:10 AM by Peter pi - MSFT
Dec 29, 2011 10:39 AM|LINK
I get the error "The type 'WcfFitnessService.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."
Here's what I did:
and chose 'WCF Service Application'
I then created a new site in IIS: www.fservice.nl which I pointed to folder: C:\inetpub\fitness-\fitness-service\WcfFitnessService.
But when I call www.fservice.nl/Service1.svc I get: The type 'WcfFitnessService.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.
I did a Google search,but cant find whats going on for my situation. I must be doing something wrong,cause I dont believe the default settings would throw an error.
Dec 29, 2011 11:00 AM|LINK
look at this
Jan 03, 2012 06:10 AM|LINK
You need to check whether the type, namespace and assembly were setup correctly and the assembly was in the bin folder and security was setup appropriately. Please check the following similar post.