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

  • SEARCH
  • Home
  • 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 711045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:41:27+00:00 2026-05-14T04:41:27+00:00

I have an edmx model which I have draged 2 tables onto – One

  • 0

I have an edmx model which I have draged 2 tables onto – One called ‘File’ and the other ‘ApplicaitonFile’. These two tables have a 1 to 1 relationship in the database. If I stop here everything works fine.

But in my model, I want ‘ApplicaitonFile’ to inherit from ‘File’. So I delete the 1 to 1 relationship then configure ‘ApplicaitonFile’ from ‘File’ and then remove the FileId from ‘ApplicaitonFile’ which was the primary key. (Note I am following the instructions from here).

If I leave the model open at this point everything is fine, but as soon as I close it, if I try and reopen it again I get the following error “The operation could not be completed”.

I have been searching for a solution and found this – Entity Model does not load but as far as I can tell I don’t have a duplicate InheritanceConnectors (although I don’t know exactly what I’m looking for but I can’t see anything out of the ordinary – like 2 connectors with the same name) and the relationship I originally have is a 1 to 1 not a 1 to 0..1

Any ideas???

  • 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-14T04:41:27+00:00Added an answer on May 14, 2026 at 4:41 am

    I have had issues with EDMX files not opening becuase of layout issues. When it happens i got the “The operation could not be completed.”

    Try this (please make sure you back up your model).

    Open up your model using VS XML Editor (right click open with).

    Remove or comment out the section

    <edmx:Edmx ...
      ...
      <edmx:Designer>
    
        <edmx:Diagrams>
           <Diagram>
               //Comment these out   ...
            </Diagram>
        </edmx:Diagrams>
       </edmx:Designer>
     </edmx:Edmx>
    

    so it would become:

    <edmx:Edmx ...
      ...
      <edmx:Designer>
    
        <edmx:Diagrams>
           <!--
           <Diagram>
    
            </Diagram>
           -->
        </edmx:Diagrams>
       </edmx:Designer>
     </edmx:Edmx>
    

    Then close and reopen the model. If it works* you need to remove the stuff you commented out. Worked for me, hopefuly it works for you.

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

Sidebar

Related Questions

i have an entity-model file (edmx) file which contains few tables and few stored
I have a simple ADO.NET Entity Framework 4.0 model (edmx) which defines database tables
I have two entities, each from a different database and therefore different edmx files.
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have a very simple web part. I have a single grid view, which
I have a view which has an Int column which is nullable (let's call
I have a problem adding ADO.Net Entity Data Model to my existing project, or
Given an Entity Data Model (EDMX) with Code Generation Strategy set to None, how
I have a user defined function in a SQL Server 2005 database which returns
Using Microsoft's designer for the Entity Framework (v3.5), I have created an Entity Model

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.