以下是从微软查找的wininet的函数错误码简介

http://support.microsoft.com/kb/193625

Microsoft Win32 互联网 (WinInet) API 提供了独立的应用程序方便地访问 Gopher、 FTP 和 HTTP 等标准的互联网协议。WinInet API 将抽象为 Win32 开发人员熟悉的高级别接口协议。

以下是 WinInet 函数所返回的错误代码的列表:

   Code        Error Message and Description-----       -----------------------------12001       ERROR_INTERNET_OUT_OF_HANDLESNo more handles could be generated at this time.12002       ERROR_INTERNET_TIMEOUTThe request has timed out.12003       ERROR_INTERNET_EXTENDED_ERRORAn extended error was returned from the server. This istypically a string or buffer containing a verbose errormessage. Call InternetGetLastResponseInfo to retrieve theerror text.12004       ERROR_INTERNET_INTERNAL_ERRORAn internal error has occurred.12005       ERROR_INTERNET_INVALID_URLThe URL is invalid.12006       ERROR_INTERNET_UNRECOGNIZED_SCHEMEThe URL scheme could not be recognized or is not supported.12007       ERROR_INTERNET_NAME_NOT_RESOLVEDThe server name could not be resolved.12008       ERROR_INTERNET_PROTOCOL_NOT_FOUNDThe requested protocol could not be located.12009       ERROR_INTERNET_INVALID_OPTIONA request to InternetQueryOption or InternetSetOptionspecified an invalid option value.12010       ERROR_INTERNET_BAD_OPTION_LENGTHThe length of an option supplied to InternetQueryOption orInternetSetOption is incorrect for the type of optionspecified.12011       ERROR_INTERNET_OPTION_NOT_SETTABLEThe request option cannot be set, only queried.12012       ERROR_INTERNET_SHUTDOWNThe Win32 Internet function support is being shut down orunloaded.12013       ERROR_INTERNET_INCORRECT_USER_NAMEThe request to connect and log on to an FTP server couldnot be completed because the supplied user name isincorrect.12014       ERROR_INTERNET_INCORRECT_PASSWORDThe request to connect and log on to an FTP server couldnot be completed because the supplied password isincorrect.12015       ERROR_INTERNET_LOGIN_FAILUREThe request to connect to and log on to an FTP serverfailed.12016       ERROR_INTERNET_INVALID_OPERATIONThe requested operation is invalid.12017       ERROR_INTERNET_OPERATION_CANCELLEDThe operation was canceled, usually because the handle onwhich the request was operating was closed before theoperation completed.12018       ERROR_INTERNET_INCORRECT_HANDLE_TYPEThe type of handle supplied is incorrect for thisoperation.12019       ERROR_INTERNET_INCORRECT_HANDLE_STATEThe requested operation cannot be carried out because thehandle supplied is not in the correct state.12020       ERROR_INTERNET_NOT_PROXY_REQUESTThe request cannot be made via a proxy.12021       ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUNDA required registry value could not be located.12022       ERROR_INTERNET_BAD_REGISTRY_PARAMETERA required registry value was located but is an incorrecttype or has an invalid value.12023       ERROR_INTERNET_NO_DIRECT_ACCESSDirect network access cannot be made at this time.12024       ERROR_INTERNET_NO_CONTEXTAn asynchronous request could not be made because a zerocontext value was supplied.12025       ERROR_INTERNET_NO_CALLBACKAn asynchronous request could not be made because acallback function has not been set.12026       ERROR_INTERNET_REQUEST_PENDINGThe required operation could not be completed because oneor more requests are pending.12027       ERROR_INTERNET_INCORRECT_FORMATThe format of the request is invalid.12028       ERROR_INTERNET_ITEM_NOT_FOUNDThe requested item could not be located.12029       ERROR_INTERNET_CANNOT_CONNECTThe attempt to connect to the server failed.12030       ERROR_INTERNET_CONNECTION_ABORTEDThe connection with the server has been terminated.12031       ERROR_INTERNET_CONNECTION_RESETThe connection with the server has been reset.12032       ERROR_INTERNET_FORCE_RETRYCalls for the Win32 Internet function to redo the request.12033       ERROR_INTERNET_INVALID_PROXY_REQUESTThe request to the proxy was invalid.12036       ERROR_INTERNET_HANDLE_EXISTSThe request failed because the handle already exists.12037       ERROR_INTERNET_SEC_CERT_DATE_INVALIDSSL certificate date that was received from the server isbad. The certificate is expired.12038       ERROR_INTERNET_SEC_CERT_CN_INVALIDSSL certificate common name (host name field) is incorrect.For example, if you entered www.server.com and the commonname on the certificate says www.different.com.12039       ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIRThe application is moving from a non-SSL to an SSLconnection because of a redirect.12040       ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIRThe application is moving from an SSL to an non-SSLconnection because of a redirect.12041       ERROR_INTERNET_MIXED_SECURITYIndicates that the content is not entirely secure. Some ofthe content being viewed may have come from unsecuredservers.12042       ERROR_INTERNET_CHG_POST_IS_NON_SECUREThe application is posting and attempting to changemultiple lines of text on a server that is not secure.12043       ERROR_INTERNET_POST_IS_NON_SECUREThe application is posting data to a server that is notsecure.12110       ERROR_FTP_TRANSFER_IN_PROGRESSThe requested operation cannot be made on the FTP sessionhandle because an operation is already in progress.12111       ERROR_FTP_DROPPEDThe FTP operation was not completed because the session wasaborted.12130       ERROR_GOPHER_PROTOCOL_ERRORAn error was detected while parsing data returned from thegopher server.12131       ERROR_GOPHER_NOT_FILEThe request must be made for a file locator.12132       ERROR_GOPHER_DATA_ERRORAn error was detected while receiving data from the gopherserver.12133       ERROR_GOPHER_END_OF_DATAThe end of the data has been reached.12134       ERROR_GOPHER_INVALID_LOCATORThe supplied locator is not valid.12135       ERROR_GOPHER_INCORRECT_LOCATOR_TYPEThe type of the locator is not correct for this operation.12136       ERROR_GOPHER_NOT_GOPHER_PLUSThe requested operation can only be made against a Gopher+server or with a locator that specifies a Gopher+operation.12137       ERROR_GOPHER_ATTRIBUTE_NOT_FOUNDThe requested attribute could not be located.12138       ERROR_GOPHER_UNKNOWN_LOCATORThe locator type is unknown.12150       ERROR_HTTP_HEADER_NOT_FOUNDThe requested header could not be located.12151       ERROR_HTTP_DOWNLEVEL_SERVERThe server did not return any headers.12152       ERROR_HTTP_INVALID_SERVER_RESPONSEThe server response could not be parsed.12153       ERROR_HTTP_INVALID_HEADERThe supplied header is invalid.12154       ERROR_HTTP_INVALID_QUERY_REQUESTThe request made to HttpQueryInfo is invalid.12155       ERROR_HTTP_HEADER_ALREADY_EXISTSThe header could not be added because it already exists.12156       ERROR_HTTP_REDIRECT_FAILEDThe redirection failed because either the scheme changed(for example, HTTP to FTP) or all attempts made to redirectfailed (default is five attempts).

WinInet 错误代码 (12001 - 12156 )相关推荐

  1. Regsvr32.exe 的用法

    Regsvr32.exe 的用法 RegSvr32.exe 具有以下命令行选项: Regsvr32 [/u] [/n] [/i[:cmdline]] dllname /u – 取消注册服务器 /i – ...

  2. HTTP错误代码大全

    HTTP出错大全 101 - Switching Protocols Top Success Codes 200 - OK 201 - Created 202 - Accepted 203 - Non ...

  3. Symbian操作系统的所有错误代码

    通用错误 了KErrNone 0   KErrNotFound -1 无法找到指定的对象 KErrGeneral -2 一般(未指明)错误 KErrCancel -3 该操作已被取消 KErrNoMe ...

  4. MySQL 错误代码和消息

    本章列出了当你用任何主机语言调用MySQL时可能出现的错误.首先列出了服务器错误消息.其次列出了客户端程序消息. B.1. 服务器错误代码和消息 服务器错误信息来自下述源文件: ·         错 ...

  5. 本地 无法启动 SQL Server 错误代码126

    Windows 不能在 本地计算机 启动 SQL Server .错误代码126. 2008 R2  配置工具 VIA设置禁用. 然后重启一下服务 转载于:https://www.cnblogs.co ...

  6. java 操作mysql数据库得到错误码_[数据库/Java]数据库开发过程中产生的MySQL错误代码及其解决方案...

    前言 吐槽一下,均是这两天遇到的破烂事儿,搞定了也好,以后出现此类问题也就放心些了. 下列遇到的问题大都是因为MySQL从5.x版本升级到8.0.11(MySQL8.0涉及重大改版)后,跟着连带着出现 ...

  7. Pascal 错误代码及含义

    DOS 错误代码: 1无效DoS功能号 2文件末找到 3路径未找到 4打开文件过多 5禁止文件存取 6无效文件句柄 12无效文件存取代码 15无效驱动器号 16不能删除当前日录 17不能跨驱动器改文件 ...

  8. 拨号连接或 ××× 连接的错误代码列表

    本文列出了在使用Windows 2000.Windows XP 或 Windows Server 2003 作为客户机,建立拨号连接或 ××× 连接时可能收到的错误代码. 注意: 只有在尝试连接到正运 ...

  9. 使用×××版软件中常见的一些错误代码

    1.错误代码(691):由于域上的用户名或密码无效而拒绝访问. 如果是使用的易游提供的×××服务器,请在帐务系统确认使用的帐号是否状态正常,刚设置好的帐号需要等5分钟才能使用.如果是外部×××服务器请 ...

  10. 使用WinINet和WinHTTP实现Http訪问

    使用WinINet和WinHTTP实现Http訪问 飘飘白云 l_zhaohui@163.com 2007-11-30 Http訪问有两种方式,GET和POST,就编程来说GET方式相对简单点,它不用 ...

最新文章

  1. Python Open Source Project List
  2. .net页面数据传递
  3. Java SE(2)
  4. STM32中STD、HAL、LL库比较
  5. 三维重建7:Visual SLAM算法笔记
  6. 1.9 编程基础之顺序查找 10 找最大数序列(5分) python
  7. python能写桌面程序吗_Python新手教程:40行python代码写一个桌面翻译器
  8. 因漏洞Dropbox用户邮件地址被泄露给垃圾邮件发送者
  9. 使用bind构建本地简易dns服务器
  10. 【动态规划】多重背包问题:P1077摆花
  11. leetcode c++未初始化_LeetCode每日一题:填充每个节点的下一个右侧节点指针
  12. 谷歌地球到底有多厉害?附查看高清卫星影像方法
  13. 表示偏移地址的寄存器
  14. 自然语言处理从零到入门 成分句法分析
  15. python bif_小猪的Python学习之旅 —— 1.基础知识储备
  16. 怎么将word2016的背景色改成护眼绿?
  17. IOS Label下划线 中划线
  18. addEventListener()使用方法
  19. MethodType用法和setattr区别
  20. 鸡兔同笼python程序怎么写_鸡肉的做法大全_怎么做好吃_家常做法_下厨房

热门文章

  1. 查看linux的iso文件名,查看ISO文件信息
  2. visio中公式太小_冲压模具设计:冲床吨位计算公式、实例分析,设计师值得一看...
  3. asp在线html编辑器,ASP下使用FCKeditor在线编辑器的方法
  4. 计算机网络管理的应用,计算机网络管理技术及应用
  5. micropython thread_功能更新!C 函数也能在 MicroPython 中被调用啦
  6. 上下定高 中间自适应_B站微服务框架Kratos详细教程(3)中间件
  7. wincc怎么做一个弹出画面_Wincc如何利用单个弹出窗口画面的模板,来实现调用多组画面参数?...
  8. linux用户打开进程数,Linux 用户打开进程数的调整
  9. find ctime 加减n时间范围
  10. brace源码改造实现跨服务器监控-zjs