Error: msxml3.dll '80072f05' The date in the certificate is invalid or has expired Dim xmlhttp Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.setOption() = '解决因证书错误(证书过期): xmlhttp.send (data) '有可能抛出: The date in the certifica…
准备在windows下学习nodejs. 下载了nvmw . 但没法安装node的任何版本. 都是报错如下: C:\Users\WXG>nvmw install v0.12.0 x86 Start installing node/v0.12.0 (x32) to E:\wxg\Git\nvmw\v0.12.0-x32 Download from http://npm.taobao.org/mirrors/node/v0.12.0/node.exe, and save it as E:\wxg\G…
昨天测试一个几天前写的一个应用,时不时的报错: msxml3.dll '80072f05' The date in the certificate is invalid or has expired 经过上午3个小时的努力,终于找到原因和解决办法. 原因: 证书过期 解决办法: Dim xmlhttp Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.setOption(2) = 1305…
Private Sub Command1_Click() Command1.Enabled = False GetHtmlStr Text1 End Sub Private Sub GetHtmlStr(strUrl As String) Dim xml As Object '或者Dim xml As New ServerXMLHTTP Set xml = CreateObject("msxml2.serverxmlhttp") xml.Open "GET", st…
参考:ASP四个小技巧,抓取网页:GetBody,字节转字符BytesToBstr,正则表达式测试方法,生成静态页 Function GetBody(weburl) '创建对象 Dim ObjXMLHTTP Set ObjXMLHTTP=Server.CreateObject("MSXML2.serverXMLHTTP") '请求文件,以异步形式 ObjXMLHTTP.Open "GET",weburl,False '此信息必须在send前一个设置否则将出错&quo…
The following C/C++ example creates and appends a new text node to the root document element. #import "msxml3.dll" using namespace MSXML2; inline void TESTHR( HRESULT _hr ) { if FAILED(_hr) throw(_hr); } void XMLDOMText() { try { IXMLDOMDocument…