Ken Kolda
2004-01-22 01:05:17 UTC
We use the XMLHTTP component to fetch XML data from a remote server within
our product. But, on one client's machine, we're running into a problem
that we can easily reproduce in a trvial VBS script. The error we get is:
Error: Access is Denied
Code: 80070005
Source: msxml3.dll
The code that generates the error is really simple (and the error occurs on
the last line):
Dim HTTP
Set HTTP = CreateObject("MSXML2.XMLHTTP")
HTTP.Open "GET", "http://www.somecompany.com/somepage.asp", False
HTTP.SetRequestHeader "CustomHeader", "ABCDEFG"
HTTP.Send
This particular user is behind an authenticating proxy, but we have other
users with proxies who have had no problem (which goes along with my
understanding that the XMLHTTP component uses IE's proxy settings). I've
seen lots of discussion regarding this kind of error for the ServerXMLHTTP
component, but that's not the issue here.
If anyone has any ideas what the problem might be, I'd aprreciate your help.
Regards -
Ken
our product. But, on one client's machine, we're running into a problem
that we can easily reproduce in a trvial VBS script. The error we get is:
Error: Access is Denied
Code: 80070005
Source: msxml3.dll
The code that generates the error is really simple (and the error occurs on
the last line):
Dim HTTP
Set HTTP = CreateObject("MSXML2.XMLHTTP")
HTTP.Open "GET", "http://www.somecompany.com/somepage.asp", False
HTTP.SetRequestHeader "CustomHeader", "ABCDEFG"
HTTP.Send
This particular user is behind an authenticating proxy, but we have other
users with proxies who have had no problem (which goes along with my
understanding that the XMLHTTP component uses IE's proxy settings). I've
seen lots of discussion regarding this kind of error for the ServerXMLHTTP
component, but that's not the issue here.
If anyone has any ideas what the problem might be, I'd aprreciate your help.
Regards -
Ken