Time: 2008-04-09 12:39

只看楼主 楼主

msxml3.dll (0x800C0005) 系统未找到指定的资源

  Function GetBody(weburl)  'XMLHTTP组件获取数据 
        '创建对象
        Dim Retrieval
        Set Retrieval = CreateObject("Microsoft.XMLHTTP") 
        With Retrieval 
        Retrieval.Open "Get", weburl, False
        Retrieval.Send '第 24 行
        GetBody = Retrieval.ResponseBody
        End With 
        On Error Resume Next 
        If Retrieval.Status<>200 then 
            Set Retrieval=Nothing 
            Exit function 
        End if 
        '释放对象
        Set Retrieval = Nothing 
    End Function

 
网上找了下 没有找到解决方法,我是网址不存在或网页无法打开才报错,网址可以打开的时候是正确的
采集的时候  采集网址不存在或网页无法打开,就出错
错误提示
错误类型:
msxml3.dll (0x800C0008) 指定资源下载失败。 
/seotool/function.asp, 第 24 行

如何在网址无法访问的时候 给函数一个值呢
调用方法:contentview=GetBody(Site_y_url)
络草的签名
CHINAZ官方广告

IP:117.*.*.*   TOP

Time: 2008-04-11 10:13

只看该用户 沙发

Re:msxml3.dll (0x800C0005) 系统未找到指定的资源

  Function GetBody(weburl)  'XMLHTTP组件获取数据 
        '创建对象
        Dim Retrieval
       GetBody="你要赋的值"
        Set Retrieval = CreateObject("Microsoft.XMLHTTP") 
       On Error Resume Next 
        With Retrieval 
        Retrieval.Open "Get", weburl, False
        Retrieval.Send '第 24 行
        GetBody = Retrieval.ResponseBody
        End With 
        
        If Retrieval.Status<>200 then 
            Set Retrieval=Nothing 
            Exit function 
        End if 
        '释放对象
        Set Retrieval = Nothing 
    End Function
dream00的签名
87881698@qq.com

IP:218.*.*.*   TOP

Time: 2008-05-14 11:29

只看该用户 板凳

Re:msxml3.dll (0x800C0005) 系统未找到指定的资源

已经解决用了

容错
络草的签名

IP:121.*.*.*   TOP

Time: 2008-05-14 14:21

只看该用户 地板

Re:msxml3.dll (0x800C0005) 系统未找到指定的资源

呵呵,好
ishion的签名
笑话 右脑开发教育 幼儿教育网
网络编程1群:13325744(已满) asp编程群:26143093 php编程群:32826313

IP:58.*.*.*   TOP