Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear supporter,

I downloaded SNMP library with SNMPDLL_src(TestSNMPDII/SNMPDll) projects successfully. When I run TEST.cs with myMib "Object reference not set to an instance of an object" exception line of code 37 below:

22 Mib myMib = new Mib();
......
//************INIT SNMP OBJECT*********************
37 SNMPObject myRequest = new SNMPObject("1.3.6.1.2.1.1.5.0",myMib);

Do I need install mib files (see below) into C:\WINDOWS\System32 folder to avoid above exception?

If so, Where should I download these mib files?

Thank You!

Chan

**************Loading MIB files**************
Load C:\WINDOWS\System32\accserv.mib
...
Load C:\WINDOWS\System32\wins.mib
Posted

1 solution

I assume you are referring to this article[^], in which case you should use the forum at the end of the article to contact the author.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900