I have a windows service which throws a memory related error and then restarts. Besides trying to fix the error, which is something I'm working on, I need to know how to disable this annoying message:
"The instruction at 0xmmmmmmmm referenced memory at 0xnnnnnnnn. The memory could not be written."
The problem is that the service won't restart until someone clicks the "Accept" button on the server.
In this case, service restarts are tolerable, what is not tolerable is having the service down until someone clicks the button. This message appears on the login screen (user is not logged in).
I need to ensure that the service will restart on error without any human interaction with the server.