NT Security Event log problems with MsAuditE.dll

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
david.matthewson
Posts: 94
Joined: Tue Oct 24, 2006 12:45 pm

NT Security Event log problems with MsAuditE.dll

Post by david.matthewson »

Setup:

HostMon 9.x running on Win2008 x64 R2 box.
No RMAs
An old installtion which has been working OK for a long time.

I set up a new test.

Looking at the Security log on a Win2003 box and looking for 'bad password' entries.

What happens?

The test 'works' with no errors but rather than returning the correct error msg from the log it returns a blank template with % parameters and the message "Not enough insertion data for the message (MsAuditE.dll). "

Observations:
Now I thought that this was caused by the MsAuditE.dll being the wrong version and thus not having the correct strings to populate the message and as such it occurred only if the MS system with the error was newer than that running the copy of hostmon - say running HostMon on a 2003 box which was looking at event logs on a 2008 box. But our setup is the other way around.

Alex - any thoughts please?

Thanks!
david.matthewson
Posts: 94
Joined: Tue Oct 24, 2006 12:45 pm

Post by david.matthewson »

Just to add to this, if I use Eventvwr on the 2008 box that runs HM and point it at the 2003 box it correctly 'sees' failed logon attempts. Which to me suggests the dll on the 2008 box can interpret the 2003 eventlog correctly.

Perhaps I should try setting up an RMA on the 2003 box..?

Thanks.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, this error caused by DLLs version mismatch
---------
Known problems

3rd party DLLs version mismatch
When HostMonitor calls Windows API to format event description, Windows does not check the accordance between the number of variables in a template (that is stored in resource file) and the number of variables stored in an event log. This could lead to access violation errors when some software was installed or updated incorrectly (e.g. version mismatch between different DLLs).
HostMonitor checks the template (retrieved from the DLL) and verifies the number of insertion strings before calling Windows API. If problem detected, HostMonitor shows "Not enough insertion data for the message <dllname>" error in Reply field of the test.

Solution:
If there is DLLs version mismatch (described above), you may copy appropriate DLL (e.g. copy file from another system) into <HostMonitor>\EventLogDlls\ directory. If HostMonitor detects DLL in EventLogDlls subdirectory, this DLL will be used instead of installed DLL (installed DLL - DLL that is specified in the system registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\<log name>\<event source name> key).
---------

If you check only old systems, you may copy DLL from Windows 2003 system into <HostMonitor>\EventLogDlls\ directory.
But I assume you need to check various systems, then I think best solution - use RMA installed on some Windows 2003 system to check old systems for this event.

Regards
Alex
david.matthewson
Posts: 94
Joined: Tue Oct 24, 2006 12:45 pm

Post by david.matthewson »

Alex

Thanks for the prompt & helpful reply. I'll do as you suggest and set up an RMA on the old W2003 box so I can still work with 2008 & 2012 servers.

Many thanks

D.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply