Click here to Skip to main content
15,885,985 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems opening Form2 Pin
darkelv2-Jun-08 20:13
darkelv2-Jun-08 20:13 
GeneralRe: Problems opening Form2 Pin
DaveyM693-Jun-08 1:49
professionalDaveyM693-Jun-08 1:49 
QuestionWindows Service and SystemFileWatcher Pin
KaptinKrunch2-Jun-08 9:57
KaptinKrunch2-Jun-08 9:57 
AnswerRe: Windows Service and SystemFileWatcher Pin
DaveyM692-Jun-08 10:20
professionalDaveyM692-Jun-08 10:20 
GeneralRe: Windows Service and SystemFileWatcher Pin
KaptinKrunch2-Jun-08 10:24
KaptinKrunch2-Jun-08 10:24 
QuestionQuerying LDAP and AD Pin
mabby2162-Jun-08 8:34
mabby2162-Jun-08 8:34 
AnswerRe: Querying LDAP and AD Pin
Kythen2-Jun-08 12:56
Kythen2-Jun-08 12:56 
QuestionSNMP Set Command Problem Pin
zoiomon2-Jun-08 8:02
zoiomon2-Jun-08 8:02 
Hi
In the article SNMP Library by zitun, the "testSet" function does not work as expected because you cannot change the name of a computer by a snmp request. Here's the message:

Error: SNMP: Variable does not exist; status: NoSuchName; index: 0
*** SNMP protocol error while processing <op>:
SNMP error status: NoSuchName
SNMP error index: 0
Error: SNMP: Variable does not exist; status: NoSuchName; index: 0

My problem is that I always get this error whenever I try to set a value in the printers on the network. There are 45 printers and all of them are Xerox - Phaser 4510. There's one in which the set command works: Lexmark T430. But this one isn't being shared like the others. My goal is to control the maximum number of printed pages by sector. If one exceeds the monthly limit then the printer must be blocked. The project is almost finished, but I'm stucked at this little set command.

I've already tested the program using the library from AdventNET but a similar message appears...

I'm afraid the solution is somewhat related to permissions on the network but this would be very strange, as I've looked a thousand times the configurations and everything is fine.

It's obvious impossible "the variable does not exist" because I CAN get the value!

-----------------
// A simple set
public static void snmpset(string hostName, string oid, string value)
{
SNMPDll.SNMPAgent agent = new SNMPDll.SNMPAgent(hostName);
SNMPDll.SNMPObject s = new SNMPDll.SNMPObject(oid);
agent.setValue(s, SNMPDll.SNMPOIDType.OctetString, value + "\0");
}

Thanks for your attention, Icaro.
QuestionNeed Immediate Help Pin
Saiyed Alam2-Jun-08 7:56
Saiyed Alam2-Jun-08 7:56 
AnswerRe: Need Immediate Help Pin
Christian Graus2-Jun-08 8:13
protectorChristian Graus2-Jun-08 8:13 
GeneralRe: Need Immediate Help Pin
Saiyed Alam2-Jun-08 8:31
Saiyed Alam2-Jun-08 8:31 
GeneralRe: Need Immediate Help Pin
Christian Graus2-Jun-08 8:42
protectorChristian Graus2-Jun-08 8:42 
GeneralRe: Need Immediate Help Pin
Saiyed Alam2-Jun-08 16:31
Saiyed Alam2-Jun-08 16:31 
AnswerRe: Need Immediate Help Pin
User 66582-Jun-08 8:21
User 66582-Jun-08 8:21 
Questionpliz tell me name of exercise book C#??? Pin
mbaz2-Jun-08 5:46
mbaz2-Jun-08 5:46 
AnswerRe: pliz tell me name of exercise book C#??? Pin
Christian Graus2-Jun-08 5:55
protectorChristian Graus2-Jun-08 5:55 
JokeRe: pliz tell me name of exercise book C#??? Pin
Guffa2-Jun-08 8:26
Guffa2-Jun-08 8:26 
AnswerRe: pliz tell me name of exercise book C#??? Pin
GuyThiebaut2-Jun-08 9:57
professionalGuyThiebaut2-Jun-08 9:57 
QuestionZip and Unzip using Proces.StartInfo Pin
JustRonald2-Jun-08 5:00
JustRonald2-Jun-08 5:00 
AnswerRe: Zip and Unzip using Proces.StartInfo Pin
Giorgi Dalakishvili2-Jun-08 6:37
mentorGiorgi Dalakishvili2-Jun-08 6:37 
GeneralRe: Zip and Unzip using Proces.StartInfo Pin
JustRonald2-Jun-08 21:17
JustRonald2-Jun-08 21:17 
GeneralRe: Zip and Unzip using Proces.StartInfo Pin
Robert Rohde2-Jun-08 22:13
Robert Rohde2-Jun-08 22:13 
Questionwindows installer problem Pin
Akash Agarwal2-Jun-08 4:42
Akash Agarwal2-Jun-08 4:42 
AnswerRe: windows installer problem Pin
Mike Dimmick2-Jun-08 6:54
Mike Dimmick2-Jun-08 6:54 
Questiondo u know exercise website C#, pliz tell me!!!??? Pin
mbaz2-Jun-08 4:26
mbaz2-Jun-08 4:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.