serverxmlhttp

Access denied error with MSXML2.ServerXMLHTTP

流过昼夜 提交于 2020-12-29 07:54:12
问题 I'm receiving an intermittent "msxml3.dll error '80070005' Access is denied." error. The object always posts back to the same domain. I don't quite know why it works sometimes and why it fails other times. This is Classic ASP - VBScript set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", "http://xxxx.com/GetCacheValue.aspx", false xmlhttp.send "" strCaptchaText = xmlhttp.responseText set xmlhttp = nothing 回答1: Here's something I snipped from a Google search result:

How can a ServerXMLHTTP GET request hang?

最后都变了- 提交于 2020-01-13 05:53:08
问题 I have a VBS that makes a large number of GET requests using a ServerXMLHTTP object: SET xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.setTimeouts 5000, 5000, 10000, 120000 'ms - resolve, connect, send, receive ... ' Now do the following for lots of different GetURLs: xmlhttp.open "GET", GetURL, false xmlhttp.setRequestHeader "Content-type","text/xml" xmlhttp.setRequestHeader "Accept","text/csv" xmlhttp.send "{}" WScript.Echo "Readystate = " & xmlhttp.readyState & " at " & Now() IF

msxml3.dll error '80072ee2' in ASP Page

柔情痞子 提交于 2020-01-09 11:13:10
问题 We have just moved to a new dedicated server that has Windows 2008 and SQL Server 2008. I am trying to access an ASP page on the same server using Server.CreateObject("MSXML2.ServerXMLHTTP") . On our previous 2003 server this worked correctly, however with the new 2008 server the operation just times out. Here is the code: strURL = "http://www.storeboard.com/profile/profile_view.asp?MemberID=" & MemberID & "&sid=" & cSession.SessionID Set oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")

msxml3.dll error '80072ee2' in ASP Page

十年热恋 提交于 2020-01-09 11:10:44
问题 We have just moved to a new dedicated server that has Windows 2008 and SQL Server 2008. I am trying to access an ASP page on the same server using Server.CreateObject("MSXML2.ServerXMLHTTP") . On our previous 2003 server this worked correctly, however with the new 2008 server the operation just times out. Here is the code: strURL = "http://www.storeboard.com/profile/profile_view.asp?MemberID=" & MemberID & "&sid=" & cSession.SessionID Set oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")

receiving xml from another website's call to ServerXMLHTTP post in classic asp

风流意气都作罢 提交于 2019-12-30 11:35:31
问题 I am writing both sides of an ASP-webpage to ASP-webpage conversation in which the originating webpage pushes information to the receiving webpage which then processes it and sends back a response. The originating webpage must use the code below to start the converstation: url = "www.receivingwebsite.com\asp\receivingwebpage.asp information = "UserName=Colt&PassWord=Taylor&Data=100" Set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", url, false xmlhttp

receiving xml from another website's call to ServerXMLHTTP post in classic asp

大憨熊 提交于 2019-12-30 11:35:11
问题 I am writing both sides of an ASP-webpage to ASP-webpage conversation in which the originating webpage pushes information to the receiving webpage which then processes it and sends back a response. The originating webpage must use the code below to start the converstation: url = "www.receivingwebsite.com\asp\receivingwebpage.asp information = "UserName=Colt&PassWord=Taylor&Data=100" Set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", url, false xmlhttp

Identifying correct client certificate for ServerXMLHTTP.SetOption

白昼怎懂夜的黑 提交于 2019-12-24 14:24:03
问题 I have three client certificates installed in Windows 7 and need to use a specific one to authenticate a ServerXMLHTTP60 call using VBA. Calling ServerXMLHTTP60.SetOption with the friendly name of the certificate returns with no error. But the subsequent .send fails with "A certificate is required to complete client authentication". Code example: Public Sub TestCert() Dim myHTTP as New ServerXMLHTTP60 Dim myURL as String ' Open the connection to the secure server myHTTP.Open "GET", "https:/

Custom header with MSXML2.ServerXMLHTTP

北城余情 提交于 2019-12-23 04:58:15
问题 I am currently trying to use MSXML2.ServerXMLHTTP to send a POST http request. I need to add a custom header "Auth" so that my requests get authorized but it doesn't seem to work. Here is the code for my post function: Function post(path As String, authToken As String, postData As String) As String Dim xhr As Object Dim message As String On Error GoTo error: Set xhr = CreateObject("MSXML2.ServerXMLHTTP") xhr.Open "POST", path, False xhr.setRequestHeader "Content-Type", "application/json" xhr

VBA HTTP GET request - cookies with colons

微笑、不失礼 提交于 2019-12-22 08:34:12
问题 I am trying to send an HTTP GET request in VBA which includes a cookie containing a colon character, like so: objReq.Open "GET", "http://my.url.com?foo=bar", False objReq.setRequestHeader "Cookie", "abcd=cookie:containing:colons" objReq.Send Depending on what object type I use for objReq , however the request gets treated differently. The following object type works: Dim objReq As MSXML2.ServerXMLHTTP Set objReq = New MSXML2.ServerXMLHTTP Unfortunately, I need to use a different object type

xmlHttp, XML request,asp

江枫思渺然 提交于 2019-12-12 04:24:55
问题 Just to confirm When sending XML data with asp to https://www .site.com I am getting msxml3.dll (0x80072F0C) A certificate is required to complete client authentication I Talk to https://www .site.com IT and they said that they don't have to provide any certificate to install. IS it correct? here is the function Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", url, false 'xmlhttp.setRequestHeader "CONTENT_TYPE", "text/xml" xmlHttp.setRequestHeader "Content-Type",