[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1167
  • Last Modified:

Operation can not be completed. Invalid Pointer

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
metro156
Asked:
metro156
  • 3
  • 2
1 Solution
 
Utkarsh KulkarniSr. Sw EngCommented:
Have you tried to open XML to check the entries?
0
 
metro156Author Commented:
Do you mean the App.config file?
0
 
Utkarsh KulkarniSr. Sw EngCommented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
metro156Author Commented:
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
 
metro156Author Commented:
I fixed the error by removing my  *.v11.SUO file.
0
 
Tom KnowltonWeb developerCommented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now