-1

I get error in visual studio 2013 when that reach to a special line and Suddenly Visual studio crashes and show this message Error Message

Special line is :

 Plans_Customers plan = model.Plans_Customers.SingleOrDefault(x => x.ConfirmCode == code);

I researched and found links like these Visual Studio 2012 has stopped working and
no exports were found... and Visual Studio 2013 Professional RC has Stopped Working,.. but not help me
My Visual studio is correct for other project and working correctly in other lines of this project, just has error in this line!!! why? Can anyone help me?

Update : I found my answer : got to Tools=> Option =>Debugging > General On Use Managed Compatibility Mode

Community
  • 1
  • 1
Hamid Bahmanabady
  • 665
  • 1
  • 8
  • 20
  • 1
    You can [debug Visual Studio](http://stackoverflow.com/questions/13698388/how-to-troubleshoot-and-debug-visual-studio-design-mode-errors) itself to see what went wrong. – Jake Aug 16 '14 at 07:10

1 Answers1

1

As I've experienced with "0x0000 referenced at memory 0x0000. The memory could not be read" I've only had issues sometimes, while reading certain memory slots, but gradually my hard disk broke.

I'd try migrating the project, running it on other PC if you're available. Just to make sure it's not about the PC's memory itself.

AlbertoCG
  • 11
  • 2