How Do You Solve the Invalid Pointer Issue in Visual Studio 2013

对着背影说爱祢 提交于 2019-12-01 17:27:02

I had the same problem. I had updated visual studio (update 4) but my connection failed during the update so I didn't update visual studio completely. And the error "Invalid Pointer" occurred each time I was debugging my program, Until I update it once more but this time completely. So no more error.

I suggest you to update your visual studio and here's where you should update it : http://www.microsoft.com/en-us/download/details.aspx?id=44921

I think this problem is caused by importing VS2010 settings. Anyway, this solved the problem for me:

  1. Go to \Users\<Username>\AppData\Roaming\Microsoft\VisualStudio\12.0
  2. Rename the folder to '_12.0'
  3. Repeat for \Users\<Username>\AppData\Local\Microsoft\VisualStudio\12.0
  4. Open Registry Editor
  5. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0
  6. Rename the key to _12.0

This is how I solved it (it may not exactly be your problem but worth giving a try in case nothing else works)

  • try running Visual Studio as Admin if it works fine else try the next step
  • Open "secpol.msc"
  • go to Local Policies -> User Rights Assignments -> Debug Programs
  • Add your login account to Debug Programs

It should work after adding Debug priviliges to your account.

Sorry mate. I have the same issue. I have some good news for you though. I got this by pressing F5 to run my solution. If I press Ctrl-F5 to run it, it does not give me this error. It is not in debug mode, so your app will just crash if something goes wrong. You can however run your app.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!