Pergunta

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 ?

Foi útil?

Solução

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...

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top