We make some WCF service that uses Entity Framework (edmx file). Every time we make a change (even not related to the framework / DB), we have to delete the edmx and recreate it and build the solution on the server itself, otherwise it cannot interact with the SQL Server.

Why, and how to solve it ?

有帮助吗?

解决方案

The problem was that we also copied the WhatEver.dll.config that contained the connection string (which was different between the development PC and the server).

We now simply fix the connection string if we overrun the file WhatEver.dll.config...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top