CertificateErrorCode Enumeration
- Last UpdatedAug 21, 2026
- 3 minute read
An enumeration of error codes.
'Declaration
Public Enum CertificateErrorCode
Inherits System.Enum
public enum CertificateErrorCode : System.Enum
public enum class CertificateErrorCode : public System.Enum
| Member | Value | Description |
|---|---|---|
| AccessDenied | -10 | Permission to access a resource, other than the network, was denied |
| AddressInvalid | -108 | The IP address or port number is invalid |
| AddressUnreachable | -109 | The IP address is unreachable. This usually means that there is no route to the specified host or network |
| Canceled | -3 | The request was canceled |
| CertificateAuthorityInvalid | -202 | The server responded with a certificate that is signed by an authority we don't trust |
| CertificateCommonNameInvalid | -200 | The server responded with a certificate whose common name did not match the host name |
| CertificateContainsError | -203 | The server responded with a certificate that contains errors |
| CertificateDateInvalid | -201 | The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired |
| CertificateInvalid | -207 | The server responded with a certificate that is invalid |
| CertificateNoRevocationMechanism | -204 | The certificate has no mechanism for determining if it is revoked |
| CertificateRevoked | -206 | The server responded with a certificate has been revoked |
| CertificateUnableTocheckRevocation | -205 | Revocation information for the security certificate for this site is not available |
| ConnectionAborted | -103 | The connection was aborted |
| ConnectionClosed | -100 | The connection was closed |
| ConnectionFailed | -104 | A connection attempt failed |
| ConnectionRefused | -102 | A connection attempt was refused |
| ConnectionReset | -101 | The connection was reset |
| ConnectionTimeout | -118 | A connection attempt timed out |
| DisallowedUrlScheme | -301 | The scheme of the URL is disallowed |
| EmptyResponse | -324 | The server closed the connection without sending any data. |
| FileNotFound | -6 | The file or directory cannot be found |
| FileTooBig | -8 | The file is too large |
| GenericError | -2 | A generic failure occurred |
| HostResolverQueueTooLarge | -119 | There are too many pending DNS resolves, so a request in the queue was aborted |
| InsecureResponse | -501 | The server's response was insecure (e.g. there was a cert error) |
| InternetDisconnected | -106 | The Internet connection has been lost |
| InvalidArgument | -4 | An argument to the function is incorrect |
| InvalidChunkedEncoding | -321 | Error in chunked transfer encoding |
| InvalidHandle | -5 | The handle or file descriptor is invalid |
| InvalidResponse | -320 | The server's response was invalid |
| InvalidSpdyStream | -335 | Attempted use of an unknown SPDY stream id |
| InvalidUrl | -300 | The URL is invalid |
| MethodNotSupported | -322 | The server did not support the request method |
| NameNotResolved | -105 | The host name could not be resolved |
| NoSSLVersionsEnabled | -112 | No SSL protocol versions are enabled |
| NotImplemented | -11 | The operation failed because of unimplemented functionality |
| NpnNegotiationFailed | -122 | The request to negotiate an alternate protocol failed |
| OK | 0 | No error occurred |
| ProceedAsDownload | 1 | The request was processed as a download |
| ProceedAsLaunchUrl | 2 | The request is not handled by the browser engine, LaunchUrl event is raised |
| ProxyConnectionFailed | -130 | Could not create a connection to the proxy server |
| ResponseHeadersTooBig | -325 | The headers section of the response is too large |
| SocksConnectionFailed | -120 | Failed establishing a connection to the SOCKS proxy server for a target host |
| SocksConnectionHostUnreachable | -121 | The SOCKS proxy server failed establishing connection to the target host because that host is unreachable |
| SSLClientCertificateNeeded | -110 | The server requested a client certificate for SSL client authentication |
| SslNoRenegotiation | -123 | The peer sent an SSL no_renegotiation alert message |
| SSLProtocolError | -107 | An SSL protocol error occurred |
| SSLRenegotiationRequested | -114 | The server requested a renegotiation (rehandshake) |
| SSLVersionOrCipherMismatch | -113 | The client and server don't support a common SSL protocol version or cipher suite |
| TimedOut | -7 | An operation timed out |
| TooManyRedirects | -310 | Attempting to load an URL resulted in too many redirects |
| TunnelConnectionFailed | -111 | A tunnel connection through the proxy could not be established |
| UnexpectedError | -9 | An unexpected error has ocurred |
| UnknownUrlScheme | -302 | The scheme of the URL is unknown |
| UnsafePort | -312 | Attempting to load an URL with an unsafe port number |
| UnsafeRedirect | -311 | Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect to file:// is considered unsafe) |
System.Object
System.ValueType
System.Enum
ArchestrA.Client.WebControls.CertificateErrorCode