This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use
Windows Remote Management
, which is the Microsoft implementation of WS-Man.]
Microsoft implements the following SNMP error codes that are defined by the SNMPv2C specification.
Constant/value
Description
-
SNMP_ERRORSTATUS_NOERROR
-
0
The agent reports that no errors occurred during transmission.
-
SNMP_ERRORSTATUS_TOOBIG
-
1
The agent could not place the results of the requested SNMP operation in a single SNMP message.
-
SNMP_ERRORSTATUS_NOSUCHNAME
-
2
The requested SNMP operation identified an unknown variable.
-
SNMP_ERRORSTATUS_BADVALUE
-
3
The requested SNMP operation tried to change a variable but it specified either a syntax or value error.
-
SNMP_ERRORSTATUS_READONLY
-
4
The requested SNMP operation tried to change a variable that was not allowed to change, according to the community profile of the variable.
-
SNMP_ERRORSTATUS_GENERR
-
5
An error other than one of those listed here occurred during the requested SNMP operation.
-
SNMP_ERRORSTATUS_NOACCESS
-
6
The specified SNMP variable is not accessible.
-
SNMP_ERRORSTATUS_WRONGTYPE
-
7
The value specifies a type that is inconsistent with the type required for the variable.
-
SNMP_ERRORSTATUS_WRONGLENGTH
-
8
The value specifies a length that is inconsistent with the length required for the variable.
-
SNMP_ERRORSTATUS_WRONGENCODING
-
9
The value contains an Abstract Syntax Notation One (ASN.1) encoding that is inconsistent with the ASN.1 tag of the field.
-
SNMP_ERRORSTATUS_WRONGVALUE
-
10
The value cannot be assigned to the variable.
-
SNMP_ERRORSTATUS_NOCREATION
-
11
The variable does not exist, and the agent cannot create it.
-
SNMP_ERRORSTATUS_INCONSISTENTVALUE
-
12
The value is inconsistent with values of other managed objects.
-
SNMP_ERRORSTATUS_RESOURCEUNAVAILABLE
-
13
Assigning the value to the variable requires allocation of resources that are currently unavailable.
-
SNMP_ERRORSTATUS_COMMITFAILED
-
14
No validation errors occurred, but no variables were updated.
-
SNMP_ERRORSTATUS_UNDOFAILED
-
15
No validation errors occurred. Some variables were updated because it was not possible to undo their assignment.
-
SNMP_ERRORSTATUS_AUTHORIZATIONERROR
-
16
An authorization error occurred.
-
SNMP_ERRORSTATUS_NOTWRITABLE
-
17
The variable exists but the agent cannot modify it.
-
SNMP_ERRORSTATUS_INCONSISTENTNAME
-
18
The variable does not exist; the agent cannot create it because the named object instance is inconsistent with the values of other managed objects.
Requirements
Requirement
Value