Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6191581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:47:30+00:00 2026-05-24T02:47:30+00:00

I have an entity model build using EF4.1 code first, which uses a WCF

  • 0

I have an entity model build using EF4.1 code first, which uses a WCF Data service to expose the entities. To improve performance I have pre-generated the EF views. This works fine when I run locally, or if I publish the service using visual studio. However, when I use the TFS team build to create the service, I get the following error when try and access my entities via the data service:

The mapping and metadata information for EntityContainer ‘X’ no longer matches the information used to create the pre-generated views.

The TFS team build uses a separate build server to build the data service + entity model. The code being built is identical, the web.config + databases are also identical. This suggests that either the team build or the build server is altering either the view, the edmx file or the DbContext in some way.

Thanks in advance for any help

Ryan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:47:31+00:00Added an answer on May 24, 2026 at 2:47 am

    This turned out to be a version mismatch between the EF4.1 dlls used on the dev servers and the dll used by the build server. For a full explanation see this thread.

    EF Pre-Compiled Builds issue

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Core Data managed object model, I have an entity Foo with a
We're using interfaces to represent entity classes in our domain model. We have concrete
I have a Entity model that includes a large number of lookup entities. All
Using Microsoft's designer for the Entity Framework (v3.5), I have created an Entity Model
I've used WCF RIA services with Entity Framework to build a simple application which
I am using Hibernate with spring. I have a model-class like this. @Entity @Table(name
I'm using Entity Framework 4 and a Dynamic Data site to expose a bare-bones
I have a ASP.NET MVC 3 application, using Entity Framework 4 to handle Data
We have a simple domain model: Contact, TelephoneNumber and ContactRepository. Contact is entity, it
I have an entity that maps to an external oracle table which is one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.