SNMP not working on Windows 2000, if developed on machine withMicrosoft 6.0 and .NET

Frank Fock Frank.Fock____t-online.de
Wed Apr 9 22:37:20 CEST 2003


Rupali,

I doubt that your problem is related to OS version
you are using. I would guess rather that the code is
not the same. If you are sure it is the same, then
the agent that runs OK is probably only running
by accident. Pleae check that the snmp_target_mib is
created before the snmp_community_mib.

Best regards,
Frank

Patel, Rupali wrote:
> Hello,
> 
> I have an SNMP problem question and according to Al Vasay (who was in charge
> of project, but now I am), this is the email address I should direct my
> question too.
> 
> I am having some difficulty getting SNMP to work on Windows 2000.  The
> particular piece of code I am having difficulty with is the following.
> 
> 		vacm->addNewGroup(SecurityModel_USM, "new",
>                          		"newGroup", storageType_volatile);
> 
> The last trace statement I have in the log file is the following.
> 	
> 	"Please instantiate snmpTargetAddrEntry before
> snmpTargetAddrExtEntry" 
> 
> Which is found in the snmp_community_mib.cpp file in
> snmpTargetAddrExtEntry() function.
> 
> Here is the real dilemma though, I build SNMP at my personal PC and this
> code works fine, however when I build from an ISO certified PC I get the
> above trace statement.
> 
> Both the PCs are NT 4.0 with Service Pack 6.  The main difference is that
> the ISO certified PC recently installed Microsoft Visual Studio .Net and has
> Microsoft Visual Studio 6.0.  On my PC only Microsoft Visual Studio 6.0 is
> installed.  
> 
> Do you know of any compatibility issues with the above piece of code running
> on W2K if it is built with 6.0 with .NET on the same machine?  This same
> piece of code compiled on the ISO certified PC does works on an NT OS.
> 
> I am using the following version.
> 
> libdes _1_4.01
> SNMP++ v3.1.6a
> Agent++ v3.5.2a
> 
> The above piece of code is written in our own project which is titled SNMP
> and sits on top of the SNMP++ and AGENT++.
> 
> 
> Please assist because I am running out of avenues to try.
> 
> Thank You,
> Rupali Patel
> Diebold, Inc.
> patelr at diebold.com
> 330.490.5036
> 
> 






More information about the AGENTPP mailing list