NavigateError Event Status Codes

 

The following tables list the possible errors returned by the StatusCode parameter of the NavigateError event handler of the DWebBrowserEvents2 interface

 

HTTP Status Codes

 

Status code string

C++ value

Decimal value

Description

HTTP_STATUS_BAD_REQUEST

400

400

Invalid syntax.

HTTP_STATUS_DENIED

401

401

Access denied.

HTTP_STATUS_PAYMENT_REQ

402

402

Payment required.

HTTP_STATUS_FORBIDDEN

403

403

Request forbidden.

HTTP_STATUS_NOT_FOUND

404

404

Object not found.

HTTP_STATUS_BAD_METHOD

405

405

Method is not allowed.

HTTP_STATUS_NONE_ACCEPTABLE

406

406

No response acceptable to client found.

HTTP_STATUS_PROXY_AUTH_REQ

407

407

Proxy authentication required.

HTTP_STATUS_REQUEST_TIMEOUT

408

408

Server timed out waiting for request.

HTTP_STATUS_CONFLICT

409

409

User should resubmit with more info.

HTTP_STATUS_GONE

410

410

Resource is no longer available.

HTTP_STATUS_LENGTH_REQUIRED

411

411

Server refused to accept request without a length.

HTTP_STATUS_PRECOND_FAILED

412

412

Precondition given in request failed.

HTTP_STATUS_REQUEST_TOO_LARGE

413

413

Request entity was too large.

HTTP_STATUS_URI_TOO_LONG

414

414

Request Uniform Resource Identifier (URI) too long.

HTTP_STATUS_UNSUPPORTED_MEDIA

415

415

Unsupported media type.

HTTP_STATUS_RETRY_WITH

449

449

Retry after doing the appropriate action.

HTTP_STATUS_SERVER_ERROR

500

500

Internal server error.

HTTP_STATUS_NOT_SUPPORTED

501

501

Server does not support the functionality required to fulfill the request.

HTTP_STATUS_BAD_GATEWAY

502

502

Error response received from gateway.

HTTP_STATUS_SERVICE_UNAVAIL

503

503

Temporarily overloaded.

HTTP_STATUS_GATEWAY_TIMEOUT

528

528

Timed out waiting for gateway.

HTTP_STATUS_VERSION_NOT_SUP

505

505

HTTP version not supported.

 

HRESULT Status Codes

 

Status code string

Hex value

Decimal value

Description

INET_E_INVALID_URL

&H800C0002&

-2,146,697,214

URL string is not valid.

INET_E_NO_SESSION

&H800C0003&

-2,146,697,213

No session found.

INET_E_CANNOT_CONNECT

&H800C0004&

-2,146,697,212

Unable to connect to server.

INET_E_RESOURCE_NOT_FOUND

&H800C0005&

-2,146,697,211

Requested resource is not found.

INET_E_OBJECT_NOT_FOUND

&H800C0006&

-2,146,697,210

Requested object is not found.

INET_E_DATA_NOT_AVAILABLE

&H800C0007&

-2,146,697,209

Requested data is not available.

INET_E_DOWNLOAD_FAILURE

&H800C0008&

-2,146,697,208

Failure occurred during download.

INET_E_AUTHENTICATION_REQUIRED

&H800C0009&

-2,146,697,207

Requested navigation requires authentication.

INET_E_NO_VALID_MEDIA

&H800C000A&

-2,146,697,206

Required media not available or valid.

INET_E_CONNECTION_TIMEOUT

&H800C000B&

-2,146,697,205

Connection timed out.

INET_E_INVALID_REQUEST

&H800C000C&

-2,146,697,204

Request is invalid.

INET_E_UNKNOWN_PROTOCOL

&H800C000D&

-2,146,697,203

Protocol is not recognized.

INET_E_SECURITY_PROBLEM

&H800C000E&

-2,146,697,202

Navigation request has encountered a security issue.

INET_E_CANNOT_LOAD_DATA

&H800C000F&

-2,146,697,201

Unable to load data from the server.

INET_E_CANNOT_INSTANTIATE_OBJECT

&H800C0010&

-2,146,697,200

Unable to create an instance of the object.

INET_E_REDIRECT_FAILED

&H800C0014&

-2,146,697,196

Attempt to redirect the navigation failed.

INET_E_REDIRECT_TO_DIR

&H800C0015&

-2,146,697,195

Navigation redirected to a directory.

INET_E_CANNOT_LOCK_REQUEST

&H800C0016&

-2,146,697,194

Unable to lock request with the server.

INET_E_USE_EXTEND_BINDING

&H800C0017&

-2,146,697,193

Reissue request with extended binding.

INET_E_TERMINATED_BIND

&H800C0018&

-2,146,697,192

Binding is terminated.

INET_E_CODE_DOWNLOAD_DECLINED

&H800C0100&

-2,146,697,960

Permission to download is declined.

INET_E_RESULT_DISPATCHED

&H800C0200&

-2,146,696,704

Result is dispatched.

INET_E_CANNOT_REPLACE_SFP_FILE

&H800C0300&

-2,146,696,448

Cannot replace a protected System File Protection (SFP) file.

INET_E_REDIRECTING

&H800C0014&

-2,146,697,196

The request is being redirected. (Pass this value to IInternetProtocolSink::ReportResult.)

INET_E_CODE_INSTALL_SUPPRESSED

&H800C0400&

-2,146,696,192

Microsoft Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2) and later. The Microsoft Authenticode prompt for installing a Microsoft ActiveX control was not shown because the page restricts the installation of the ActiveX controls. The usual cause is that the Information Bar is shown instead of the Authenticode prompt.

INET_E_INVALID_CERTIFICATE

&H800C0019&

-2,146,697,191

The Secure Sockets Layer (SSL) certificate is invalid.

INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY

&H800C0500&

-2,146,695,936

Internet Explorer 6 for Windows XP SP2 and later. Installation of ActiveX control (as identified by cryptographic file hash) has been disallowed by registry key policy.

 

Valid XHTML 1.0 Transitional