title: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' could not be loaded
body: <p>I created a WCF Service using dotNet 4.5.  The database layer is built with Entity Framework 6.</p>
  
  <p>I hosted the service with IIS 8. It is working fine.</p>
  
  <p>Now I need to consume the service with windows forms client, that is built using dotnet framework 3.5. </p>
  
  <p>I can create the service reference successfully. But when I run the code, getting the following error;</p>
  
  <blockquote>
    <p>The Entity Framework provider type
    'System.Data.Entity.SqlServer.SqlProviderServices,
    EntityFramework.SqlServer' registered in the application config file
    for the ADO.NET provider with invariant name 'System.Data.SqlClient'
    could not be loaded. Make sure that the assembly-qualified name is
    used and that the assembly is available to the running application.
    See <a href="http://go.microsoft.com/fwlink/?LinkId=260882" rel="noreferrer">http://go.microsoft.com/fwlink/?LinkId=260882</a> for more
    information.</p>
  </blockquote>
  
  <p>Any suggestions?</p>