Page 1 of 1

Schema Error on Server, Works on Dev PC

Posted: Thu 01 Nov 2012 15:47
by quip85673456
I posted this question on Stack Overflow:

http://stackoverflow.com/questions/1309 ... 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.

Re: Schema Error on Server, Works on Dev PC

Posted: Fri 02 Nov 2012 14:00
by Helen
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 ( http://blogs.devart.com/dotconnect/enti ... l#Versions ) ?
Please let us know, whether your config file contains the following code:

Code: Select all

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