Juri Shutenko Personal Homepage. Visual FoxPro.
VFP+Internet. Сообщения об ошибках, связанные с функциями WinInet.

В случае, если вызовы функций, связанных с Интернет, были неудачными, то возвращаются соответствующие ошибки, описания которых приведены в приведенной ниже таблице.

Вы можете взять готовый к использованию в приложениях Visual FoxPro файл заголовков с директивами препроцессора с определениями ошибок здесь.

12000, 12001, 12002, 12003, 12004, 12005, 12006, 12007, 12008, 12009, 12010, 12011, 12012, 12013, 12014, 12015, 12016, 12017, 12018, 12019, 12020, 12021, 12022, 12023, 12024, 12025, 12026, 12027, 12028, 12029, 12030, 12031, 12032, 12033, 12034, 12035, 12036, 12037, 12038, 12039, 12040, 12041, 12042, 12043, 12044, 12045, 12046, 12047, 12048, 12049, 12050, 12051, 12052, 12053, 12054, 12055, 12056, 12057, 12058, 12059, 12060, 12061, 12062, 12063, 12064, 12065, 12066, 12067, 12068, 12069, 12070, 12071, 12072, 12073, 12074, 12075, 12076, 12077, 12078, 12079, 12080, 12081, 12082, 12083, 12084, 12085, 12086, 12087, 12088, 12089, 12090, 12091, 12092, 12093, 12094, 12095, 12096, 12097, 12098, 12099, 12100, 12101, 12102, 12103, 12104, 12105, 12106, 12107, 12108, 12109, 12110, 12111, 12112, 12113, 12114, 12115, 12116, 12117, 12118, 12119, 12120, 12121, 12122, 12123, 12124, 12125, 12126, 12127, 12128, 12129, 12130, 12131, 12132, 12133, 12134, 12135, 12136, 12137, 12138, 12139, 12140, 12141, 12142, 12143, 12144, 12145, 12146, 12147, 12148, 12149, 12150, 12151, 12152, 12153, 12154, 12155, 12156, 12157, 12158, 12159, 12160, 12161, 12162, 12163, 12164, 12165, 12166, 12167, 12168, 12169, 12170, 12171, 12172, 12173, 12174

 

Имя, которое может быть использовано в качестве директивы препроцессора Номер ошибки Описание
ERROR_FTP_DROPPED 12111 FTP операция не была завершена, так как была прервана сессия.
ERROR_FTP_NO_PASSIVE_MODE 12112 На сервере недоступен пассивный режим.
ERROR_FTP_TRANSFER_IN_PROGRESS 12110Запрашиваемая операция не может быть выполнена на дескрипторе FTP сессии, так как уже исполняется другая операция.
ERROR_GOPHER_ATTRIBUTE_NOT_FOUND 12137Запрашиваемый аттрибут не найден.
ERROR_GOPHER_DATA_ERROR 12132 Во время получения данных с Gopher-сервера была обнаружена ошибка.
ERROR_GOPHER_END_OF_DATA 12133Достигнут конец данных.
ERROR_GOPHER_INCORRECT_LOCATOR_TYPE 12135Тип локатора некорректен для этой операции.
ERROR_GOPHER_INVALID_LOCATOR 12134The supplied locator is not valid (Предоставлен недействительный локатор).
ERROR_GOPHER_NOT_FILE 12131The request must be made for a file locator (Запрос должен быть сделан для локатора файла).
ERROR_GOPHER_NOT_GOPHER_PLUS 12136The requested operation can be made only against a Gopher+ server, or with a locator that specifies a Gopher+ operation.
ERROR_GOPHER_PROTOCOL_ERROR 12130An error was detected while parsing data returned from the Gopher server.
ERROR_GOPHER_UNKNOWN_LOCATOR 12138The locator type is unknown.
ERROR_HTTP_COOKIE_DECLINED 12162The HTTP cookie was declined by the server.
ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION 12161The HTTP cookie requires confirmation.
ERROR_HTTP_DOWNLEVEL_SERVER 12151The server did not return any headers.
ERROR_HTTP_HEADER_ALREADY_EXISTS 12155The header could not be added because it already exists.
ERROR_HTTP_HEADER_NOT_FOUND 12150The requested header could not be located.
ERROR_HTTP_INVALID_HEADER 12153The supplied header is invalid.
ERROR_HTTP_INVALID_QUERY_REQUEST 12154 The request made to HttpQueryInfo is invalid [ http://msdn2.microsoft.com/en-us/library/aa384238.aspx ].
ERROR_HTTP_INVALID_SERVER_RESPONSE 12152The server response could not be parsed.
ERROR_HTTP_NOT_REDIRECTED 12160The HTTP request was not redirected.
ERROR_HTTP_REDIRECT_FAILED 12156The redirection failed because either the scheme changed (for example, HTTP to FTP) or all attempts made to redirect failed (default is five attempts).
ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION 12168The redirection requires user confirmation.
ERROR_INTERNET_ASYNC_THREAD_FAILED 12047The application could not start an asynchronous thread.
ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT 12166There was an error in the automatic proxy configuration script.
ERROR_INTERNET_BAD_OPTION_LENGTH 12010The length of an option supplied to InternetQueryOption or InternetSetOption
ERROR_INTERNET_BAD_REGISTRY_PARAMETER 12022A required registry value was located but is an incorrect type or has an invalid value.
ERROR_INTERNET_CANNOT_CONNECT 12029The attempt to connect to the server failed.
ERROR_INTERNET_CHG_POST_IS_NON_SECURE 12042The application is posting and attempting to change multiple lines of text on a server that is not secure.
ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED 12044The server is requesting client authentication.
ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP 12046Client authorization is not set up on this computer.
ERROR_INTERNET_CONNECTION_ABORTED 12030The connection with the server has been terminated.
ERROR_INTERNET_CONNECTION_RESET 12031The connection with the server has been reset.
ERROR_INTERNET_DECODING_FAILED 12175WinINet failed to perform content decoding on the response. For more information, see the Content Encoding [ http://msdn2.microsoft.com/en-us/library/aa383955.aspx ] topic.
ERROR_INTERNET_DIALOG_PENDING 12049Another thread has a password dialog box in progress.
ERROR_INTERNET_DISCONNECTED 12163The Internet connection has been lost.
ERROR_INTERNET_EXTENDED_ERROR 12003An extended error was returned from the server. This is typically a string or buffer containing a verbose error message. Call InternetGetLastResponseInfo [ http://msdn2.microsoft.com/en-us/library/aa384717.aspx ] to retrieve the error text.
ERROR_INTERNET_FAILED_DUETOSECURITYCHECK 12171The function failed due to a security check.
ERROR_INTERNET_FORCE_RETRY 12032The function needs to redo the request.
ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED 12054The requested resource requires Fortezza authentication.
ERROR_INTERNET_HANDLE_EXISTS 12036The request failed because the handle already exists.
ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR 12039The application is moving from a non-SSL to an SSL connection because of a redirect.
ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR 12052The data being submitted to an SSL connection is being redirected to a non-SSL connection.
ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR 12040The application is moving from an SSL to an non-SSL connection because of a redirect.
ERROR_INTERNET_INCORRECT_FORMAT 12027The format of the request is invalid.
ERROR_INTERNET_INCORRECT_HANDLE_STATE 12019The requested operation cannot be carried out because the handle supplied is not in the correct state.
ERROR_INTERNET_INCORRECT_HANDLE_TYPE 12018The type of handle supplied is incorrect for this operation.
ERROR_INTERNET_INCORRECT_PASSWORD 12014The request to connect and log on to an FTP server could not be completed because the supplied password is incorrect.
ERROR_INTERNET_INCORRECT_USER_NAME 12013The request to connect and log on to an FTP server could not be completed because the supplied user name is incorrect.
ERROR_INTERNET_INSERT_CDROM 12053The request requires a CD-ROM to be inserted in the CD-ROM drive to locate the resource requested.
ERROR_INTERNET_INTERNAL_ERROR 12004An internal error has occurred.
ERROR_INTERNET_INVALID_CA 12045The function is unfamiliar with the Certificate Authority that generated the server's certificate.
ERROR_INTERNET_INVALID_OPERATION 12016The requested operation is invalid.
ERROR_INTERNET_INVALID_OPTION 12009A request to InternetQueryOption [ http://msdn2.microsoft.com/en-us/library/aa385101.aspx ] или InternetSetOption [ http://msdn2.microsoft.com/en-us/library/aa385114.aspx ] specified an invalid option value.
ERROR_INTERNET_INVALID_PROXY_REQUEST 12033The request to the proxy was invalid.
ERROR_INTERNET_INVALID_URL 12005The URL is invalid.
ERROR_INTERNET_ITEM_NOT_FOUND 12028The requested item could not be located.
ERROR_INTERNET_LOGIN_FAILURE 12015The request to connect and log on to an FTP server failed.
ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY 12174The MS-Logoff digest header has been returned from the Web site. This header specifically instructs the digest package to purge credentials for the associated realm. This error will only be returned if INTERNET_ERROR_MASK_LOGIN_FAILURE_DISPLAY_ENTITY_BODY [ http://msdn2.microsoft.com/en-us/library/aa383661.aspx ] has been set.
ERROR_INTERNET_MIXED_SECURITY 12041The content is not entirely secure. Some of the content being viewed may have come from unsecured servers.
ERROR_INTERNET_NAME_NOT_RESOLVED 12007The server name could not be resolved.
ERROR_INTERNET_NEED_MSN_SSPI_PKG 12173Not currently implemented.
ERROR_INTERNET_NEED_UI 12034A user interface or other blocking operation has been requested.
ERROR_INTERNET_NO_CALLBACK 12025An asynchronous request could not be made because a callback function has not been set.
ERROR_INTERNET_NO_CONTEXT 12024An asynchronous request could not be made because a zero context value was supplied.
ERROR_INTERNET_NO_DIRECT_ACCESS 12023Direct network access cannot be made at this time.
ERROR_INTERNET_NOT_INITIALIZED 12172Initialization of the WinINet API has not occurred. Indicates that a higher-level function, such as InternetOpen [ http://msdn2.microsoft.com/en-us/library/aa385096.aspx ] , has not been called yet.
ERROR_INTERNET_NOT_PROXY_REQUEST 12020The request cannot be made via a proxy.
ERROR_INTERNET_OPERATION_CANCELLED 12017The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed.
ERROR_INTERNET_OPTION_NOT_SETTABLE 12011The requested option cannot be set, only queried.
ERROR_INTERNET_OUT_OF_HANDLES 12001No more handles could be generated at this time.
ERROR_INTERNET_POST_IS_NON_SECURE 12043The application is posting data to a server that is not secure.
ERROR_INTERNET_PROTOCOL_NOT_FOUND 12008The requested protocol could not be located.
ERROR_INTERNET_PROXY_SERVER_UNREACHABLE 12165The designated proxy server cannot be reached.
ERROR_INTERNET_REDIRECT_SCHEME_CHANGE 12048The function could not handle the redirection, because the scheme changed (for example, HTTP to FTP).
ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND 12021A required registry value could not be located.
ERROR_INTERNET_REQUEST_PENDING 12026The required operation could not be completed because one or more requests are pending.
ERROR_INTERNET_RETRY_DIALOG 12050The dialog box should be retried.
ERROR_INTERNET_SEC_CERT_CN_INVALID 12038SSL certificate common name (host name field) is incorrect—for example, if you entered www.server.com and the common name on the certificate says www.different.com.
ERROR_INTERNET_SEC_CERT_DATE_INVALID 12037SSL certificate date that was received from the server is bad. The certificate is expired.
ERROR_INTERNET_SEC_CERT_ERRORS 12055The SSL certificate contains errors.
ERROR_INTERNET_SEC_CERT_NO_REV 12056
ERROR_INTERNET_SEC_CERT_REV_FAILED 12057
ERROR_INTERNET_SEC_CERT_REVOKED 12170SSL certificate was revoked.
ERROR_INTERNET_SEC_INVALID_CERT 12169SSL certificate is invalid.
ERROR_INTERNET_SECURITY_CHANNEL_ERROR 12157The application experienced an internal error loading the SSL libraries.
ERROR_INTERNET_SERVER_UNREACHABLE 12164The Web site or server indicated is unreachable.
ERROR_INTERNET_SHUTDOWN 12012WinINet support is being shut down or unloaded.
ERROR_INTERNET_TCPIP_NOT_INSTALLED 12159The required protocol stack is not loaded and the application cannot start WinSock.
ERROR_INTERNET_TIMEOUT 12002The request has timed out.
ERROR_INTERNET_UNABLE_TO_CACHE_FILE 12158The function was unable to cache the file.
ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT 12167The automatic proxy configuration script could not be downloaded. The INTERNET_FLAG_MUST_CACHE_REQUEST flag was set.
ERROR_INTERNET_UNRECOGNIZED_SCHEME 12006The URL scheme could not be recognized, or is not supported.

Кроме того, могут быть возвращены ошибки, определенные в заголовочном файле Winerror.h.

Имя, которое может быть использовано в качестве директивы препроцессора Номер ошибки Описание
ERROR_INVALID_HANDLE 0x6 The handle that was passed to the API has been either invalidated or closed.
ERROR_MORE_DATA 0x234 More data is available
ERROR_NO_MORE_FILES 0x18 No more files have been found.
ERROR_NO_MORE_ITEMS 0x259 No more items have been found.
Cелектор для быстрого перехода на сайты, связанные с Visual FoxPro.