InfiniTec - Henning Krauses Blog

Don't adjust your mind - it's reality that is malfunctioning

Antivirus software breaks .NET application [Updated]

Since a few days I got an exception saying

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

I got this exception while debugging my InfiniTec.Exchange libray, which does a lot web requests using the HttpWebRequest class. I though it was some sort of multi-threading issue on my side, since I use my InfiniTec.Threading library in that project. Furthermore, I thought it could have something to do with the fact that I now have dual core processor....

Well, turned out that it was all wrong. It was my virus scanner.... Which is rather curious, because all I had activated was the filesystem scanner - network scanning was deactivated... But when I deinstalled it, the symptoms disappeared instantly.

Surprisingly, this issue has been around for a while now - I found a posting in a Microsoft forum dated February 28, 2006 - almost a year old (The forum post can be found here)

Anyway - now I have to find a new virus scanner which doesn't break .NET applications.


Wow - that was fast. I opened a support incident at Eset, the creators of NOD32, and within one hour, they responded to my question.

The solution is to reinstall NOD32, but disable the IMON feature all together. The support technician told me that this feature will be removed in the next version completely, because of this very reason. So, no need to get another virus scanner.


Posted by Henning Krause on Tuesday, February 13, 2007 12:00 AM, last modified on Tuesday, February 13, 2007 12:00 PM
Permalink | Post RSSRSS comment feed