There is an executable installer of Entity Framework 6
for servers.
I published the system on a Windows server 2008 server, and it is not working. You are returning the following error:
Schema specified is not valid. Errors: Context.ControleHorasContext.ssdl (2,2): Error 0152: No Entity Framework Provider for ADO.NET Provider with Invariant Name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file.
I have already checked the connection data in WebConfig, and everything is fine.
<add name="Entities" connectionString="metadata=res://*/Context.ControleHorasContext.csdl|res://*/Con text.ControleHorasContext.ssdl|res://*/Context.ControleHorasContext.msl;provider =System.Data.SqlClient;provider connection string="data source=VMCPT100;initial catalog=ControleHoras;persist security info=True;user id=*;password=*;MultipleActiveResultSets=True;App=EntityFramewo rk"" providerName="System.Data.EntityClient" />
I also checked the bin folder, and made sure that the EntityFramework.dll file is there.