<gimme_this_gimme_that@xxxxxx> wrote in message
news:b579f3ea-a58b-45b4-a51e-aa11f51e3f83@xxxxxx
> I'm making a post to a form as follows:
>
>
> Set oHTTP = WScript.CreateObject("Microsoft.XMLHTTP")
> oHTTP.onreadystatechange = GetRef("RespReceived")
>
> oHTTP.open "POST", URL, False
> oHTTP.setRequestHeader "Content-Type", "application/x-www-form-
> urlencoded"
> oHTTP.send "logon=user01&password=hello&Submit223=Log+In&realm=rhi"
>
> A popup appears that says:
>
> Error: Access is denied.
> Source msxml3.dll
> System: Access is denied.
>
>
> How do I make it so that Access is allowed?
>
> Thanks.
> Where does this script run, is it in a browser or a standalone VB script?
Can you access the URL normally, for example by pasting into a browser?
Try downloading Fiddler 2, it may enable you to see more clearly where the
problem lies.
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name