Compartir a través de


FEEDS_DOWNLOAD_ERROR Enumerated Type

Contains flags that are returned from IFeed::LastDownloadError or IFeedEnclosure::LastDownloadError.

Syntax

typedef enum FEEDS_DOWNLOAD_ERROR {
    FDE_NONE = 0,
    FDE_DOWNLOAD_FAILED = 1,
    FDE_INVALID_FEED_FORMAT = 2,
    FDE_NORMALIZATION_FAILED = 3,
    FDE_PERSISTENCE_FAILED = 4,
    FDE_DOWNLOAD_BLOCKED = 5,
    FDE_CANCELED = 6,
    FDE_UNSUPPORTED_AUTH = 7,
    FDE_BACKGROUND_DOWNLOAD_DISABLED = 8,
    FDE_NOT_EXIST = 9,
    FDE_UNSUPPORTED_MSXML = 10,
    FDE_UNSUPPORTED_DTD = 11,
    FDE_DOWNLOAD_SIZE_LIMIT_EXCEEDED = 12,
    FDE_ACCESS_DENIED = 13,
    FDE_AUTH_FAILED = 14,
    FDE_INVALID_AUTH = 15
} FEEDS_DOWNLOAD_ERROR;

Constants

  • FDE_NONE
    The feed or enclosure was downloaded successfully.

  • FDE_DOWNLOAD_FAILED
    The feed or enclosure could not be downloaded. The Feed Download Engine will try again later.

  • FDE_INVALID_FEED_FORMAT
    The XML of the feed is an unsupported format. The Windows RSS Platform supports Really Simple Syndication (RSS) 0.9x, 1.0, 2.0 and Atom 0.3, 1.0 formats.

  • FDE_NORMALIZATION_FAILED
    The XML of the feed is invalid, or contains errors.

  • FDE_PERSISTENCE_FAILED
    The feed or enclosure could not be saved to local storage.

  • FDE_DOWNLOAD_BLOCKED
    Security policy does not permit downloads from the specified URL.

  • FDE_CANCELED
    The download was interrupted.

  • FDE_UNSUPPORTED_AUTH
    The server request returns HTTP status of 401 Unauthorized, 402 Payment Required, or 403 Forbidden. The Windows RSS Platform supports NTLM with implicit credentials (NTLM/Kerberos pass-through authentication) and Secure Sockets Layer (SSL) encrypted feeds only.

  • FDE_BACKGROUND_DOWNLOAD_DISABLED
    The Background Intelligent Transfer Service (BITS) has been disabled. BITS is required to automatically download enclosures. Enclosures that are skipped while the service is inactive will not be downloaded automatically, even if the service is restarted.

  • FDE_NOT_EXIST
    The feed no longer exists. Server request returns HTTP status of 400 Bad Request, 404 Not Found, 406 Not Acceptable, or 410 Gone.

  • FDE_UNSUPPORTED_MSXML
    Wrong version of Microsoft XML (MSXML). The user needs to update the local version of MSXML.

  • FDE_UNSUPPORTED_DTD
    Feeds with Document Type Definition (DTD) references are not supported.

  • FDE_DOWNLOAD_SIZE_LIMIT_EXCEEDED

    The XML source of the feed exceeds the maximum allowed size. This error also applies to enclosures that cannot be downloaded via BITS (HTTP Range) requests.

    For both feeds and enclosures, the default size limit is 15 megabytes (MB). To increase or decrease the default value, change one or both of the following registry values to the desired size in kilobytes (KB). The example below sets the default size (15 * 1024).

    HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
         SOFTWARE
              Microsoft
                   Feeds
                        MaxFeedSize = (DWORD)15360
                        MaxEnclosureSize = (DWORD)15360

  • FDE_ACCESS_DENIED

    Note  This documentation is preliminary and is subject to change.

    Windows Internet Explorer 8. The server returned HTTP 403 Access Denied error.

  • FDE_AUTH_FAILED

    Note  This documentation is preliminary and is subject to change.

    Internet Explorer 8. Authentication with the server failed (server returns HTTP 401 three times in a row) or there are no credentials stored for the feed (IFeed::Username is NULL or empty).

  • FDE_INVALID_AUTH

    Note  This documentation is preliminary and is subject to change.

    Internet Explorer 8. The authorization request was not allowed. The Windows RSS Platform does not support authenticated proxies, nor will it send credentials as part of any redirected request to anything other than the original feed URL. HTTP BASIC authentication is only allowed over Secure Hypertext Transfer Protocol (HTTPS).

Enumerated Type Information

Header and IDL files msfeeds.h, msfeeds.idl
Minimum availability Internet Explorer 7
Minimum operating systems Windows XP SP2