【发布时间】:2012-12-09 06:32:26
【问题描述】:
我在 (www.test1.com) 的 asp 页面中使用以下代码
url= "http://www.test1.com/test.asp"
dim http, pxml, http_response
set http = server.CreateObject("MSXML2.ServerXMLHTTP.3.0")
http.open "GET", url, 0
http.setrequestheader "content-type", "text/xml; charset=utf-8"
http.send ""
但我的页面出现如下错误
msxml3.dll error '80072ee7'
The server name or address could not be resolved
但我将请求发送到 同一服务器 (http://www.test1.com) 只是问题所在。但我向任何其他服务器(如 (http://www.test2.com) 发送请求都可以正常工作
为什么同一台服务器出现问题?
【问题讨论】:
-
您是从经过身份验证的代理服务器后面发出的吗?如果是这样,代理服务器可能配置为要求对 www.test1.com 进行身份验证,而不是对 www.test2.com 进行身份验证。
标签: xml asp-classic msxml