Schema Error on Server, Works on Dev PC

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 13
Joined: Mon 18 Apr 2011 16:37

Schema Error on Server, Works on Dev PC

Post by quip85673456 » Thu 01 Nov 2012 15:47

I posted this question on Stack Overflow: ... on-another

Someone from Devart suggested to verify the version of EF was the same. I believe we are current on our support so I'm sorry to post again but could someone look at that question, or should I repost it here? Or do I need to use the "request support" option from the support menu?

Sorry I'm not trying to be difficult, I'm just stuck and I need some help with this problem.

Devart Team
Posts: 127
Joined: Wed 07 Sep 2011 11:54

Re: Schema Error on Server, Works on Dev PC

Post by Helen » Fri 02 Nov 2012 14:00

Since you have different DDL generated, this means that different metadata are processed. This situation is possible, if different versions of the EntityFramework.dll assembly are loaded.

Please inform us, whether you have done binding redirect for the EntityFramework.dll assembly as described in this blog article ( ... l#Versions ) ?
Please let us know, whether your config file contains the following code:

Code: Select all

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <assemblyIdentity name="EntityFramework"
publicKeyToken="b77a5c561934e089" />
      <bindingRedirect oldVersion="" newVersion="" />

Post Reply