Snmp On Windows 2008 Server

IanHannah

New member
Joined
Oct 11, 2010
Messages
1
Location
Cambridge
I have written a 32 bit SNMP extension agent dll in native C++ (since you have to write it this way).

This works on a Windows XP machine and a Windows 2003 server machine without any problems.

I have now installed it on a machine running Windows Server 2008 i.e. 64bit.

I have added my SNMP agent to the following registry location:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SNMP\Parameters\ExtensionAgents

My entry under this key references another registry location which has a Pathname entry which is set to "d:\test\PP.PixelPromo.Support.SnmpAgent.dll" as a REG_EXPAND_SZ type (as opposed to a REG_SZ type).

Every time that I start the SNMP service I get the following error in the event log:

The SNMP Service is ignoring extension agent dll "d:\test\PP.PixelPromo.Support.SnmpAgent.dll" because it is missing or misconfigured.

I have removed all the code from the SNMP agent dll except the 4 main entry points and even this gives me the error.

I cannot see anything wrong with the settings that I have made in the registry. This is obviously a 32 bit/64 bit issue but I cannot see what the issue is.

Can anyone help with this problem?

Thanks
Ian
 
Back
Top