Windows System Error Codes (9000-11999)

转贴自:http://realaboo.mysmth.net/2005/01/07/

 

The following table provides a list of system error codes (errors 9000 to 11999). These values are defined in the WinError.h header file.
They are returned by the
GetLastError function when many functions fail. To retrieve the description text for the
error in your application, use the
FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag.

CodeDescriptionName
9001DNS server unable to interpret format.DNS_ERROR_RCODE_FORMAT_ERROR
9002DNS server failure.DNS_ERROR_RCODE_SERVER_FAILURE
9003DNS name does not exist.DNS_ERROR_RCODE_NAME_ERROR
9004DNS request not supported by name server.DNS_ERROR_RCODE_NOT_IMPLEMENTED
9005DNS operation refused.DNS_ERROR_RCODE_REFUSED
9006DNS name that ought not exist, does exist.DNS_ERROR_RCODE_YXDOMAIN
9007DNS RR set that ought not exist, does exist.DNS_ERROR_RCODE_YXRRSET
9008DNS RR set that ought to exist, does not exist.DNS_ERROR_RCODE_NXRRSET
9009DNS server not authoritative for zone.DNS_ERROR_RCODE_NOTAUTH
9010DNS name in update or prereq is not in zone.DNS_ERROR_RCODE_NOTZONE
9016DNS signature failed to verify.DNS_ERROR_RCODE_BADSIG
9017DNS bad key.DNS_ERROR_RCODE_BADKEY
9018DNS signature validity expired.DNS_ERROR_RCODE_BADTIME
9501No records found for given DNS query.DNS_INFO_NO_RECORDS
9502Bad DNS packet.DNS_ERROR_BAD_PACKET
9503No DNS packet.DNS_ERROR_NO_PACKET
9504DNS error, check rcode.DNS_ERROR_RCODE
9505Unsecured DNS packet.DNS_ERROR_UNSECURE_PACKET
9551Invalid DNS type.DNS_ERROR_INVALID_TYPE
9552Invalid IP address.DNS_ERROR_INVALID_IP_ADDRESS
9553Invalid property.DNS_ERROR_INVALID_PROPERTY
9554Try DNS operation again later.DNS_ERROR_TRY_AGAIN_LATER
9555Record for given name and type is not unique.DNS_ERROR_NOT_UNIQUE
9556DNS name does not comply with RFC specifications.DNS_ERROR_NON_RFC_NAME
9557DNS name is a fully-qualified DNS name.DNS_STATUS_FQDN
9558DNS name is dotted (multi-label).DNS_STATUS_DOTTED_NAME
9559DNS name is a single-part name.DNS_STATUS_SINGLE_PART_NAME
9560DSN name contains an invalid character.DNS_ERROR_INVALID_NAME_CHAR
9561DNS name is entirely numeric.DNS_ERROR_NUMERIC_NAME
9562The operation requested is not permitted on a DNS root server.DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER
9563The record could not be created because this part of the DNS namespace has been
delegated to another server.
DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION
9564The DNS server could not find a set of root hints.DNS_ERROR_CANNOT_FIND_ROOT_HINTS
9565The DNS server found root hints but they were not consistent across all adapters.DNS_ERROR_INCONSISTENT_ROOT_HINTS
9601DNS zone does not exist.DNS_ERROR_ZONE_DOES_NOT_EXIST
9602DNS zone information not available.DNS_ERROR_NO_ZONE_INFO
9603Invalid operation for DNS zone.DNS_ERROR_INVALID_ZONE_OPERATION
9604Invalid DNS zone configuration.DNS_ERROR_ZONE_CONFIGURATION_ERROR
9605DNS zone has no start of authority (SOA) record.DNS_ERROR_ZONE_HAS_NO_SOA_RECORD
9606DNS zone has no name server (NS) record.DNS_ERROR_ZONE_HAS_NO_NS_RECORDS
9607DNS zone is locked.DNS_ERROR_ZONE_LOCKED
9608DNS zone creation failed.DNS_ERROR_ZONE_CREATION_FAILED
9609DNS zone already exists.DNS_ERROR_ZONE_ALREADY_EXISTS
9610DNS automatic zone already exists.DNS_ERROR_AUTOZONE_ALREADY_EXISTS
9611Invalid DNS zone type.DNS_ERROR_INVALID_ZONE_TYPE
9612Secondary DNS zone requires master IP address.DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP
9613DNS zone not secondary.DNS_ERROR_ZONE_NOT_SECONDARY
9614Need secondary IP address.DNS_ERROR_NEED_SECONDARY_ADDRESSES
9615WINS initialization failed.DNS_ERROR_WINS_INIT_FAILED
9616Need WINS servers.DNS_ERROR_NEED_WINS_SERVERS
9617NBTSTAT initialization call failed.DNS_ERROR_NBSTAT_INIT_FAILED
9618Invalid delete of start of authority (SOA)DNS_ERROR_SOA_DELETE_INVALID
9619A conditional forwarding zone already exists for that name.DNS_ERROR_FORWARDER_ALREADY_EXISTS
9620This zone must be configured with one or more master DNS server IP addresses.DNS_ERROR_ZONE_REQUIRES_MASTER_IP
9621The operation cannot be performed because this zone is shutdown.DNS_ERROR_ZONE_IS_SHUTDOWN
9651Primary DNS zone requires datafile.DNS_ERROR_PRIMARY_REQUIRES_DATAFILE
9652Invalid datafile name for DNS zone.DNS_ERROR_INVALID_DATAFILE_NAME
9653Failed to open datafile for DNS zone.DNS_ERROR_DATAFILE_OPEN_FAILURE
9654Failed to write datafile for DNS zone.DNS_ERROR_FILE_WRITEBACK_FAILED
9655Failure while reading datafile for DNS zone.DNS_ERROR_DATAFILE_PARSING
9701DNS record does not exist.DNS_ERROR_RECORD_DOES_NOT_EXIST
9702DNS record format error.DNS_ERROR_RECORD_FORMAT
9703Node creation failure in DNS.DNS_ERROR_NODE_CREATION_FAILED
9704Unknown DNS record type.DNS_ERROR_UNKNOWN_RECORD_TYPE
9705DNS record timed out.DNS_ERROR_RECORD_TIMED_OUT
9706Name not in DNS zone.DNS_ERROR_NAME_NOT_IN_ZONE
9707CNAME loop detected.DNS_ERROR_CNAME_LOOP
9708Node is a CNAME DNS record.DNS_ERROR_NODE_IS_CNAME
9709A CNAME record already exists for given name.DNS_ERROR_CNAME_COLLISION
9710Record only at DNS zone root.DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT
9711DNS record already exists.DNS_ERROR_RECORD_ALREADY_EXISTS
9712Secondary DNS zone data error.DNS_ERROR_SECONDARY_DATA
9713Could not create DNS cache data.DNS_ERROR_NO_CREATE_CACHE_DATA
9714DNS name does not exist.DNS_ERROR_NAME_DOES_NOT_EXIST
9715Could not create pointer (PTR) record.DNS_WARNING_PTR_CREATE_FAILED
9716DNS domain was undeleted.DNS_WARNING_DOMAIN_UNDELETED
9717The directory service is unavailable.DNS_ERROR_DS_UNAVAILABLE
9718DNS zone already exists in the directory service.DNS_ERROR_DS_ZONE_ALREADY_EXISTS
9719DNS server not creating or reading the boot file for the directory service integrated
DNS zone.
DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE
9751DNS AXFR (zone transfer) complete.DNS_INFO_AXFR_COMPLETE
9752DNS zone transfer failed.DNS_ERROR_AXFR
9753Added local WINS server.DNS_INFO_ADDED_LOCAL_WINS
9801Secure update call needs to continue update request.DNS_STATUS_CONTINUE_NEEDED
9851TCP/IP network protocol not installed.DNS_ERROR_NO_TCPIP
9852No DNS servers configured for local system.DNS_ERROR_NO_DNS_SERVERS
9901The specified directory partition does not exist.DNS_ERROR_DP_DOES_NOT_EXIST
9902The specified directory partition already exists.DNS_ERROR_DP_ALREADY_EXISTS
9903The DNS server is not enlisted in the specified directory partition.DNS_ERROR_DP_NOT_ENLISTED
9904The DNS server is already enlisted in the specified directory partition.DNS_ERROR_DP_ALREADY_ENLISTED
9905The directory partition is not available at this time. Please wait a few minutes
and try again.
DNS_ERROR_DP_NOT_AVAILABLE.
9906The application directory partition operation failed.
The domain controller holding the domain naming master role is down or
unable to service the request or is not running Windows Server 2003.
DNS_ERROR_DP_FSMO_ERROR
10004A blocking operation was interrupted by a call to WSACancelBlockingCall.WSAEINTR
10009The file handle supplied is not valid.WSAEBADF
10013An attempt was made to access a socket in a way forbidden by its access permissions.WSAEACCES
10014The system detected an invalid pointer address in attempting to use a pointer
argument in a call.
WSAEFAULT
10022An invalid argument was supplied.WSAEINVAL
10024Too many open sockets.WSAEMFILE
10035A non-blocking socket operation could not be completed immediately.WSAEWOULDBLOCK
10036A blocking operation is currently executing.WSAEINPROGRESS
10037An operation was attempted on a non-blocking socket that already had an operation
in progress.
WSAEALREADY
10038An operation was attempted on something that is not a socket.WSAENOTSOCK
10039A required address was omitted from an operation on a socket.WSAEDESTADDRREQ
10040A message sent on a datagram socket was larger than
the internal message buffer or some other network limit, or the buffer
used to receive a datagram into was smaller than the datagram itself.
WSAEMSGSIZE
10041A protocol was specified in the socket function call that does not support the
semantics of the socket type requested.
WSAEPROTOTYPE
10042An unknown, invalid, or unsupported option or level was specified in a getsockopt
or setsockopt call.
WSAENOPROTOOPT
10043The requested protocol has not been configured into the system, or no implementation
for it exists.
WSAEPROTONOSUPPORT
10044The support for the specified socket type does not exist in this address family.WSAESOCKTNOSUPPORT
10045The attempted operation is not supported for the type of object referenced.WSAEOPNOTSUPP
10046The protocol family has not been configured into the system or no implementation
for it exists.
WSAEPFNOSUPPORT
10047An address incompatible with the requested protocol was used.WSAEAFNOSUPPORT
10048Only one usage of each socket address (protocol/network address/port) is normally
permitted.
WSAEADDRINUSE
10049The requested address is not valid in its context.WSAEADDRNOTAVAIL
10050A socket operation encountered a dead network.WSAENETDOWN
10051A socket operation was attempted to an unreachable network.WSAENETUNREACH
10052The connection has been broken due to keep-alive activity detecting a failure
while the operation was in progress.
WSAENETRESET
10053An established connection was aborted by the software in your host machine.WSAECONNABORTED
10054An existing connection was forcibly closed by the remote host.WSAECONNRESET
10055An operation on a socket could not be performed because the system lacked sufficient
buffer space or because a queue was full.
WSAENOBUFS
10056A connect request was made on an already connected socket.WSAEISCONN
10057A request to send or receive data was disallowed
because the socket is not connected and (when sending on a datagram
socket using a sendto call) no address was supplied.
WSAENOTCONN
10058A request to send or receive data was disallowed
because the socket had already been shut down in that direction with a
previous shutdown call.
WSAESHUTDOWN
10059Too many references to some kernel object.WSAETOOMANYREFS
10060A connection attempt failed because the connected
party did not properly respond after a period of time, or established
connection failed because connected host has failed to respond.
WSAETIMEDOUT
10061No connection could be made because the target machine actively refused it.WSAECONNREFUSED
10062Cannot translate name.WSAELOOP
10063Name component or name was too long.WSAENAMETOOLONG
10064A socket operation failed because the destination host was down.WSAEHOSTDOWN
10065A socket operation was attempted to an unreachable host.WSAEHOSTUNREACH
10066Cannot remove a directory that is not empty.WSAENOTEMPTY
10067A Windows Sockets implementation may have a limit on the number of applications
that may use it simultaneously.
WSAEPROCLIM
10068Ran out of quota.WSAEUSERS
10069Ran out of disk quota.WSAEDQUOT
10070File handle reference is no longer available.WSAESTALE
10071Item is not available locally.WSAEREMOTE
10091WSAStartup cannot function at this time because the
underlying system it uses to provide network services is currently
unavailable.
WSASYSNOTREADY
10092The Windows Sockets version requested is not supported.WSAVERNOTSUPPORTED
10093Either the application has not called WSAStartup, or WSAStartup failed.WSANOTINITIALISED
10101Returned by WSARecv or WSARecvFrom to indicate the remote party has initiated
a graceful shutdown sequence.
WSAEDISCON
10102No more results can be returned by WSALookupServiceNext.WSAENOMORE
10103A call to WSALookupServiceEnd was made while this call was still processing.
The call has been canceled.
WSAECANCELLED
10104The procedure call table is invalid.WSAEINVALIDPROCTABLE
10105The requested service provider is invalid.WSAEINVALIDPROVIDER
10106The requested service provider could not be loaded or initialized.WSAEPROVIDERFAILEDINIT
10107A system call that should never fail has failed.WSASYSCALLFAILURE
10108No such service is known. The service cannot be found in the specified name space.WSASERVICE_NOT_FOUND
10109The specified class was not found.WSATYPE_NOT_FOUND
10110No more results can be returned by WSALookupServiceNext.WSA_E_NO_MORE
10111A call to WSALookupServiceEnd was made while this call was still processing.
The call has been canceled.
WSA_E_CANCELLED
10112A database query failed because it was actively refused.WSAEREFUSED
11001No such host is known.WSAHOST_NOT_FOUND
11002This is usually a temporary error during hostname
resolution and means that the local server did not receive a response
from an authoritative server.
WSATRY_AGAIN
11003A non-recoverable error occurred during a database lookup.WSANO_RECOVERY
11004The requested name is valid, but no data of the requested type was found.WSANO_DATA
11005At least one reserve has arrived.WSA_QOS_RECEIVERS
11006At least one path has arrived.WSA_QOS_SENDERS
11007There are no senders.WSA_QOS_NO_SENDERS
11008There are no receivers.WSA_QOS_NO_RECEIVERS
11009Reserve has been confirmed.WSA_QOS_REQUEST_CONFIRMED
11010Error due to lack of resources.WSA_QOS_ADMISSION_FAILURE
11011Rejected for administrative reasons - bad credentials.WSA_QOS_POLICY_FAILURE
11012Unknown or conflicting style.WSA_QOS_BAD_STYLE
11013Problem with some part of the filterspec or providerspecific buffer in general.WSA_QOS_BAD_OBJECT
11014Problem with some part of the flowspec.WSA_QOS_TRAFFIC_CTRL_ERROR
11015General QOS error.WSA_QOS_GENERIC_ERROR
11016An invalid or unrecognized service type was found in the flowspec.WSA_QOS_ESERVICETYPE
11017An invalid or inconsistent flowspec was found in the QOS structure.WSA_QOS_EFLOWSPEC
11018Invalid QOS provider-specific buffer.WSA_QOS_EPROVSPECBUF
11019An invalid QOS filter style was used.WSA_QOS_EFILTERSTYLE
11020An invalid QOS filter type was used.WSA_QOS_EFILTERTYPE
11021An incorrect number of QOS FILTERSPECs were specified in the FLOWDESCRIPTOR.WSA_QOS_EFILTERCOUNT
11022An object with an invalid ObjectLength field was specified in the QOS provider-specific
buffer.
WSA_QOS_EOBJLENGTH
11023An incorrect number of flow descriptors was specified in the QOS structure.WSA_QOS_EFLOWCOUNT
11024An unrecognized object was found in the QOS provider-specific buffer.WSA_QOS_EUNKNOWNPSOBJ
11025An invalid policy object was found in the QOS provider-specific buffer.WSA_QOS_EPOLICYOBJ
11026An invalid QOS flow descriptor was found in the flow descriptor list.WSA_QOS_EFLOWDESC
11027An invalid or inconsistent flowspec was found in the QOS provider-specific buffer.WSA_QOS_EPSFLOWSPEC
11028An invalid FILTERSPEC was found in the QOS provider-specific buffer.WSA_QOS_EPSFILTERSPEC
11029An invalid shape discard mode object was found in the QOS provider-specific buffer.WSA_QOS_ESDMODEOBJ
11030An invalid shaping rate object was found in the QOS provider-specific buffer.WSA_QOS_ESHAPERATEOBJ
11031A reserved policy element was found in the QOS provider-specific buffer.WSA_QOS_RESERVED_PETYPE
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值