Jump to content
Forum²

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...