Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Operation can not be completed. Invalid Pointer

Posted on 2014-04-21
6
Medium Priority
?
1,068 Views
Last Modified: 2016-06-21
When I try to open my entity framework file .edmx file, I receive the following message:
Operation could not be completed. Invalid Pointer.

I am using Visual Studio 2012.  How can I resolve this?
0
Comment
Question by:metro156
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Utkarsh Kulkarni
ID: 40012542
Have you tried to open XML to check the entries?
0
 

Author Comment

by:metro156
ID: 40013974
Do you mean the App.config file?
0
 
LVL 7

Expert Comment

by:Utkarsh Kulkarni
ID: 40014119
No.
Each .edmx file has one XML file associated with it.
Generally modification to EDMX file reflected in related XML file.
The issue you reported mostly comes when this XML file has more tags for entity than model.
Another workaround is save all these related files & back it up. Then delete this EDMX & recreate it. Check for the error now.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:metro156
ID: 40032703
When you say each .edmx has a xml file, do you right click on .edmx file and open with XML Editor? Or is there an xml file outside that file?
0
 

Accepted Solution

by:
metro156 earned 0 total points
ID: 40032938
I fixed the error by removing my  *.v11.SUO file.
0
 
LVL 5

Expert Comment

by:Tom Knowlton
ID: 41664115
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: metro156 (https:#a40032938)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

knowlton
Experts-Exchange Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question