Sdílet prostřednictvím


NavigateError Event Status Codes

This page lists the possible values for the StatusCode parameter of the DWebBrowserEvents2::NavigateError event handler. These navigation-related error values are extracted from two documents: HTTP Status Codes and URL Moniker Error Codes. Follow the link for the status code you are interested in for a description of its meaning.

Navigation error HTTP Status Codes (Decimal value)
HTTP_STATUS_BAD_REQUEST (400)
HTTP_STATUS_DENIED (401)
HTTP_STATUS_PAYMENT_REQ (402)
HTTP_STATUS_FORBIDDEN (403)
HTTP_STATUS_NOT_FOUND (404)
HTTP_STATUS_BAD_METHOD (405)
HTTP_STATUS_NONE_ACCEPTABLE (406)
HTTP_STATUS_PROXY_AUTH_REQ (407)
HTTP_STATUS_REQUEST_TIMEOUT (408)
HTTP_STATUS_CONFLICT (409)
HTTP_STATUS_GONE (410)
HTTP_STATUS_LENGTH_REQUIRED (411)
HTTP_STATUS_PRECOND_FAILED (412)
HTTP_STATUS_REQUEST_TOO_LARGE (413)
HTTP_STATUS_URI_TOO_LONG (414)
HTTP_STATUS_UNSUPPORTED_MEDIA (415)
HTTP_STATUS_RETRY_WITH (449)
HTTP_STATUS_SERVER_ERROR (500)
HTTP_STATUS_NOT_SUPPORTED (501)
HTTP_STATUS_BAD_GATEWAY (502)
HTTP_STATUS_SERVICE_UNAVAIL (503)
HTTP_STATUS_GATEWAY_TIMEOUT (504)
HTTP_STATUS_VERSION_NOT_SUP (505)

 

Navigation error HRESULT Status Codes (Hex value or Decimal value)
INET_E_INVALID_URL (0x800C0002L or -2146697214)
INET_E_NO_SESSION (0x800C0003L or -2146697213)
INET_E_CANNOT_CONNECT (0x800C0004L or -2146697212)
INET_E_RESOURCE_NOT_FOUND (0x800C0005L or -2146697211)
INET_E_OBJECT_NOT_FOUND (0x800C0006L or -2146697210)
INET_E_DATA_NOT_AVAILABLE (0x800C0007L or -2146697209)
INET_E_DOWNLOAD_FAILURE (0x800C0008L or -2146697208)
INET_E_AUTHENTICATION_REQUIRED (0x800C0009L or -2146697207)
INET_E_NO_VALID_MEDIA (0x800C000AL or -2146697206)
INET_E_CONNECTION_TIMEOUT (0x800C000BL or -2146697205)
INET_E_INVALID_REQUEST (0x800C000CL or -2146697204)
INET_E_UNKNOWN_PROTOCOL (0x800C000DL or -2146697203)
INET_E_SECURITY_PROBLEM (0x800C000EL or -2146697202)
INET_E_CANNOT_LOAD_DATA (0x800C000FL or -2146697201)
INET_E_CANNOT_INSTANTIATE_OBJECT (0x800C0010L or -2146697200)
INET_E_REDIRECT_FAILED (0x800C0014L or -2146697196)
INET_E_REDIRECT_TO_DIR (0x800C0015L or -2146697195)
INET_E_CANNOT_LOCK_REQUEST (0x800C0016L or -2146697194)
INET_E_USE_EXTEND_BINDING (0x800C0017L or -2146697193)
INET_E_TERMINATED_BIND (0x800C0018L or -2146697192)
INET_E_INVALID_CERTIFICATE (0x800C0019L or -2146697191)
INET_E_CODE_DOWNLOAD_DECLINED (0x800C0100L or -2146696960)
INET_E_RESULT_DISPATCHED (0x800C0200L or -2146696704)
INET_E_CANNOT_REPLACE_SFP_FILE (0x800C0300L or -2146696448)
INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY (0x800C0500L or -2146695936)
INET_E_CODE_INSTALL_SUPPRESSED (0x800C0400L or -2146696192)

 

Reference

URL Moniker Error Codes

Other Resources

HTTP Status Codes