I published the WCF project on the server, I also published the MVC application in the same field that uses WCF services.
When I try to log into my MVC application, this uses the wcf service, but I get this exception in the browser,
The Entity Framework provider type "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer 'registered in the application configuration file for the ADO.NET provider with the invariant name" System.Data.SqlClient "failed to load. Make sure the name and that assembly is available for the running application.
This is an exception to the entity structure, but I assume that since my project already references EF in the dev environment, after deploying the project, the DLLs should contain an EF reference, but I'm not sure why I get this error.
I see this message because I have included includeExceptionDetailInFaults="True"
c # asp.net-mvc entity-framework wcf publish
ife labolz
source share