Tag: Publish wizard
-
If you publish a WCF service using EF to IIS, do not forget to distribute sqlserver.dll manually
—
I’ve spent several hours this week debugging a WCF application using Entity Framework, that was published to an IIS server, only to have every call to the service fill with the error message “The type initializer for [My]DbContext has caused an exception”. Of course, on the dev machine everything was working fine. Short answer: as…