Fix: WCF - The type provided as the Service attribute value in the ServiceHost directive could not

Posted by Ken Cox [MVP] on ASP.net Weblogs See other posts from ASP.net Weblogs or by Ken Cox [MVP]
Published on Thu, 03 Jun 2010 16:18:50 GMT Indexed on 2010/06/03 16:26 UTC
Read the original article Hit count: 657

I wanted to expose some raw data to users in my current ASP.NET 3.5 web site project. I created a subdirectory called ‘datafeeds’ and added a WCF Data Service. I wired the dataservice up to the Entity Framework class and, on running the ItemDataService.svc file, was greeted with: The type  <> provided as the Service attribute value in the ServiceHost directive could not be found So why couldn’t it find the class? It was right there in the… oops! Instead of putting the ItemDataService.vb...(read more)

© ASP.net Weblogs or respective owner

Fix: WCF - The type provided as the Service attribute value in the ServiceHost directive could not

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Thu, 03 Jun 2010 00:00:00 GMT Indexed on 2010/06/03 18:14 UTC
Read the original article Hit count: 657

Filed under:
I wanted to expose some raw data to users in my current ASP.NET 3.5 web site project. I created a subdirectory called datafeeds and added a WCF Data Service. I wired the dataservice up to the Entity Framework class and, on running the ItemDataService...(read more)...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner

Related posts about Community News

Related posts about .NET