Mackit 新製品

Mackit — macOS 開発者向けキャッシュクリーナー:Xcode / Node / Flutter などが残す再生成可能なキャッシュをスキャンし、項目ごとにリスクを表示してディスク容量を取り戻します

詳しく見る
お知らせ 2024 年 6 月をもって開発者向け記事の更新を停止しました。ご来訪ありがとうございます。 アーカイブ記事
知识

程序使用microsoft.xmlhttp对象请求https时出错解决

    程序使用microsoft.xmlhttp对象请求https时出错解决

程序中使用microsoft.xmlhttp组件请求https时出现如下错误

出错程序代码示例

strurl=https://www.xxx.com/xxx.asp?id=11dimobjxmlhttpsetobjxmlhttp=server.createobject(microsoft.xmlhttp)objxmlhttp.openget,strurl,falseobjxmlhttp.send()

解决更换microsoft.xmlhttp,使用“winhttp.winhttprequest.5.1”,即修改对应程序文件代码

将

setobjxmlhttp=server.createobject(microsoft.xmlhttp)

改为

setobjxmlhttp=server.createobject(winhttp.winhttprequest.5.1)objxmlhttp.option(9)=2720保存后即可。