Attempted to read or write protected memory

后端 未结 13 1567
予麋鹿
予麋鹿 2020-11-27 16:07

I\'ve started seeing an AccessViolationException being thrown in my application a several different spots. It never occured on my development pc, our test server. It also o

13条回答
  •  独厮守ぢ
    2020-11-27 16:49

    For VS 2013, .NET Framework 4.5.1 also has a AccessViolationException bug (KB2915689) when dealing with SQL Server / TCP Sockets. Upgrading to .NET Framework 4.5.2 corrects this problem.

    Reported VS.NET AccessViolationException

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

提交回复
热议问题