System Error Codes (12000-15999)

The Machine Error Codes are extremely broad. Each one of these can happen in one of several countless locations within the system. Consequently the descriptions of those codes can’t be very specific. Utilization of these codes requires some quantity of analysis and analysis. You have to note both programmatic and also the run-time context by which these errors occur. Since these codes are defined in WinError.h for anybody to make use of, sometimes the codes are came back by non-system software. Sometimes the code is came back with a function deep within the stack and taken off your code that’s handling the mistake.

The list below describes system error codes (errors 12000 to 15999). They’re came back through the GetLastError function when many functions fail. To retrieve the outline text for that error inside your application, make use of the FormatMessage function using the FORMAT_MESSAGE_FROM_SYSTEM flag.

Codes
ERROR_INTERNET_*
12000 – 12175 (0x2EE0) – See Internet Error Codes and WinInet.h.

ERROR_IPSEC_QM_POLICY_EXISTS
13000 (0x32C8) – The specified quick mode policy already exists.

ERROR_IPSEC_QM_POLICY_NOT_FOUND
13001 (0x32C9) – The specified quick mode policy was not found.

ERROR_IPSEC_QM_POLICY_IN_USE
13002 (0x32CA) – The specified quick mode policy is being used.

ERROR_IPSEC_MM_POLICY_EXISTS
13003 (0x32CB) – The specified main mode policy already exists.

ERROR_IPSEC_MM_POLICY_NOT_FOUND
13004 (0x32CC) – The specified main mode policy was not found.

ERROR_IPSEC_MM_POLICY_IN_USE
13005 (0x32CD) – The specified main mode policy is being used.

ERROR_IPSEC_MM_FILTER_EXISTS
13006 (0x32CE) – The specified main mode filter already exists.

ERROR_IPSEC_MM_FILTER_NOT_FOUND
13007 (0x32CF) – The specified main mode filter was not found.

ERROR_IPSEC_TRANSPORT_FILTER_EXISTS
13008 (0x32D0) – The specified transport mode filter already exists.

ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND
13009 (0x32D1) – The specified transport mode filter does not exist.

ERROR_IPSEC_MM_AUTH_EXISTS
13010 (0x32D2) – The specified main mode authentication list exists.

ERROR_IPSEC_MM_AUTH_NOT_FOUND
13011 (0x32D3) – The specified main mode authentication list was not found.

ERROR_IPSEC_MM_AUTH_IN_USE
13012 (0x32D4) – The specified main mode authentication list is being used.

ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND
13013 (0x32D5) – The specified default main mode policy was not found.

ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND
13014 (0x32D6) – The specified default main mode authentication list was not found.

ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND
13015 (0x32D7) – The specified default quick mode policy was not found.

ERROR_IPSEC_TUNNEL_FILTER_EXISTS
13016 (0x32D8) – The specified tunnel mode filter exists.

ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND
13017 (0x32D9) – The specified tunnel mode filter was not found.

ERROR_IPSEC_MM_FILTER_PENDING_DELETION
13018 (0x32DA) – The Main Mode filter is pending deletion.

ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION
13019 (0x32DB) – The transport filter is pending deletion.

ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION
13020 (0x32DC) – The tunnel filter is pending deletion.

ERROR_IPSEC_MM_POLICY_PENDING_DELETION
13021 (0x32DD) – The Main Mode policy is pending deletion.

ERROR_IPSEC_MM_AUTH_PENDING_DELETION
13022 (0x32DE) – The Main Mode authentication bundle is pending deletion.

ERROR_IPSEC_QM_POLICY_PENDING_DELETION
13023 (0x32DF) – The Quick Mode policy is pending deletion.

WARNING_IPSEC_MM_POLICY_PRUNED
13024 (0x32E0) – The Main Mode policy was successfully added, but some of the requested offers are not supported.

WARNING_IPSEC_QM_POLICY_PRUNED
13025 (0x32E1) – The Quick Mode policy was successfully added, but some of the requested offers are not supported.

ERROR_IPSEC_IKE_NEG_STATUS_BEGIN
13800 (0x35E8) – ERROR_IPSEC_IKE_NEG_STATUS_BEGIN

ERROR_IPSEC_IKE_AUTH_FAIL
13801 (0x35E9) – IKE authentication credentials are unacceptable.

ERROR_IPSEC_IKE_ATTRIB_FAIL
13802 (0x35EA) – IKE security attributes are unacceptable.

ERROR_IPSEC_IKE_NEGOTIATION_PENDING
13803 (0x35EB) – IKE Negotiation in progress.

ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR
13804 (0x35EC) – General processing error.

ERROR_IPSEC_IKE_TIMED_OUT
13805 (0x35ED) – Negotiation timed out.

ERROR_IPSEC_IKE_NO_CERT
13806 (0x35EE) – IKE failed to find valid machine certificate. Contact your Network Security Administrator about installing a valid certificate in the appropriate Certificate Store.

ERROR_IPSEC_IKE_SA_DELETED
13807 (0x35EF) – IKE SA deleted by peer before establishment completed.

ERROR_IPSEC_IKE_SA_REAPED
13808 (0x35F0) – IKE SA deleted before establishment completed.

ERROR_IPSEC_IKE_MM_ACQUIRE_DROP
13809 (0x35F1) – Negotiation request sat in Queue too long.

ERROR_IPSEC_IKE_QM_ACQUIRE_DROP
13810 (0x35F2) – Negotiation request sat in Queue too long.

ERROR_IPSEC_IKE_QUEUE_DROP_MM
13811 (0x35F3) – Negotiation request sat in Queue too long.

ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM
13812 (0x35F4) – Negotiation request sat in Queue too long.

ERROR_IPSEC_IKE_DROP_NO_RESPONSE
13813 (0x35F5) – No response from peer.

ERROR_IPSEC_IKE_MM_DELAY_DROP
13814 (0x35F6) – Negotiation took too long.

ERROR_IPSEC_IKE_QM_DELAY_DROP
13815 (0x35F7) – Negotiation took too long.

ERROR_IPSEC_IKE_ERROR
13816 (0x35F8) – Unknown error occurred.

ERROR_IPSEC_IKE_CRL_FAILED
13817 (0x35F9) – Certificate Revocation Check failed.

ERROR_IPSEC_IKE_INVALID_KEY_USAGE
13818 (0x35FA) – Invalid certificate key usage.

ERROR_IPSEC_IKE_INVALID_CERT_TYPE
13819 (0x35FB) – Invalid certificate type.

ERROR_IPSEC_IKE_NO_PRIVATE_KEY
13820 (0x35FC) – IKE negotiation failed because the machine certificate used does not have a private key. IPsec certificates require a private key. Contact your Network Security administrator about replacing with a certificate that has a private key.

ERROR_IPSEC_IKE_SIMULTANEOUS_REKEY
13821 (0x35FD) – Simultaneous rekeys were detected.

ERROR_IPSEC_IKE_DH_FAIL
13822 (0x35FE) – Failure in Diffie-Hellman computation.

ERROR_IPSEC_IKE_CRITICAL_PAYLOAD_NOT_RECOGNIZED
13823 (0x35FF) – Don’t know how to process critical payload.

ERROR_IPSEC_IKE_INVALID_HEADER
13824 (0x3600) – Invalid header.

ERROR_IPSEC_IKE_NO_POLICY
13825 (0x3601) – No policy configured.

ERROR_IPSEC_IKE_INVALID_SIGNATURE
13826 (0x3602) – Failed to verify signature.

ERROR_IPSEC_IKE_KERBEROS_ERROR
13827 (0x3603) – Failed to authenticate using Kerberos.

ERROR_IPSEC_IKE_NO_PUBLIC_KEY
13828 (0x3604) – Peer’s certificate did not have a public key.

ERROR_IPSEC_IKE_PROCESS_ERR
13829 (0x3605) – Error processing error payload.

ERROR_IPSEC_IKE_PROCESS_ERR_SA
13830 (0x3606) – Error processing SA payload.

ERROR_IPSEC_IKE_PROCESS_ERR_PROP
13831 (0x3607) – Error processing Proposal payload.