Solved

Operation can not be completed. Invalid Pointer

Posted on 2014-04-21
6
836 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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 learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now