I am trying to return an entity object from entity framework 5.0.0 in a WCF service according to this tutorial by Rainer Stropek. I am using EF 5.x DbContext Generator with WCF Support. When I try to debug the service, I get this warning, which prevents it from running:
The element 'entityFramework' has invalid child element 'providers'. List of possible elements expected: 'contexts'. F:\Dropbox\KelesoftSOMA\KelesoftSOMA.DataService.Administration\Web.config 40 6 KelesoftSOMA.DataService.Administration
The web.config file looks like this:
...
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v11.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
...
Please help me out.
Than