相关疑难解决方法(0)

与服务器的连接异常终止xmlhttp

我在这个web服务的同一台服务器(不同的网站)中有这个asp页面test1.asp.事情是我尝试运行此代码

sUrl = "http://chat.xxxxx.com/UCWebServices/Chat.asmx/GetChatQueueByAddress?queueAddress=SALESCHAT"

result = HTTPPost(sUrl)

response.Write result

Function HTTPPost(sUrl)
  set oHTTP = CreateObject("Msxml2.ServerXMLHTTP")
  oHTTP.open "GET", sUrl,false
  oHTTP.send <-- it fails here <-- it fails here <-- it fails here <--
  if oHTTP.Status = 200 Then
     HTTPPost oHTTP.responseText
  End if
 End Function
%>
Run Code Online (Sandbox Code Playgroud)

我收到以下错误

msxml3.dll错误'80072efe'

与服务器的连接异常终止

我搜索了这个问题,认为这可能是我可以轻松解决的一些小问题,但我遇到了一些问题.要让它发挥作用并不容易.

如果我们从其他任何地方运行相同的页面,那么它的工作原理.

有任何想法吗?

web-services xmlhttprequest asp-classic

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

asp-classic ×1

web-services ×1

xmlhttprequest ×1