Solved

Operation can not be completed. Invalid Pointer

Posted on 2014-04-21
6
942 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
  • 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
Technology Partners: 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

Independent Software Vendors: 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!

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

679 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