Solved

Operation can not be completed. Invalid Pointer

Posted on 2014-04-21
6
870 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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: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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video teaches viewers about errors in exception handling.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

803 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