Attempted to read or write protected memory

后端 未结 13 1562
予麋鹿
予麋鹿 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条回答
  •  -上瘾入骨i
    2020-11-27 16:39

    Hi There are two possible reasons.

    1. We have un-managed code and we are calling it from managed code. that is preventing to run this code. try running these commands and restart your pc

      cmd: netsh winsock reset

    open cmd.exe and run command "netsh winsock reset catalog"

    1. Anti-virus is considering un-managed code as harmful and restricting to run this code disable anti-virus and then check

提交回复
热议问题