Error: Nempmain.exe Has Encountered a Problem and Needs to Close

From Agency Systems Wiki
Revision as of 19:18, 8 July 2014 by Mlively (Talk | contribs) (initial save)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Related Pages
Related Categories

Scope of the Problem

When attempting to send an email, the message "Error: Nempmain.exe Has Encountered a Problem and Needs to Close" is displayed. Newton by Agency Systems then exists immediately.

This does not apply to specific error code messages, an invalid mapi configuration error or no default mail client error.

Identifying the Problem

The following error may appear in the windows event log.

Faulting application path: D:\Empire\programs\nempmain.exe
Faulting module path: C:\Windows\system32\dhcpcsvc.DLL
 
Log Name:      Application
Source:        Application Error
Date:          8/29/2012 9:17:03 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A

In this scenario, the Microsoft GetAdaptersAddresses (IPHLPAPI) function is invoked by the GetAdapterInfo function. The Microsoft function checks DhcpIsEnabled (dhcpcsvc). In the process, a non-executable address is processed.

This is caused by Data Execution Protection (DEP).

Resolution

Refer to Change Data Execution Prevention settings, for more information.

http://windows.microsoft.com/en-US/windows-vista/Change-Data-Execution-Prevention-settings

Modify Data Execution Prevention (DEP):

  1. Open System.
  2. Select Advanced System Settings.
  3. Select the Advanced Tab.
  4. Select Performance -> Settings...
  5. Select the Data Execution Prevention Tab.
  6. Choose Turn on DEP for essential Windows programs and services only.
    DEP-windowsprogramsonly.png
  7. Select Apply and restart the server if requested.