Question "Attempted to read or write protected memory service problem

smikkel

New member
Joined
Apr 25, 2010
Messages
2
Programming Experience
5-10
Hi,

I have a vb.net service (framework 2.0) and for some users it crashes sometimes randomly with the error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt"

In the eventlog they have:
Faulting application service.exe, version 4.0.0.18, stamp 4bc80cf3, faulting module msvcr80.dll, version 8.0.50727.3053, stamp 4889d619, debug? 0, fault address 0x000150d8.

The reasons I can find why this might happen:
- I'm using some unmanage windows API calls (maybe I'm using the wrong signature or I'm not releasing memory?)
- I'm using some third party (.net) dll's.

On my development and test machines this never happens.

Does anyone have some tips to troubleshoot the exact cause of this error?
 
Are you using ASPPDF by chance? This error gets thrown when there is a mismatch between the dll used to develop the project at the dll that is out on the server. If it is, just search on the ASPPDF support site and you will see what i'm talking about.
 
Back
Top