Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Access is denied

Reply
 
Old 10-28-2008   #1 (permalink)
gimme_this_gimme_that


 
 

Access is denied

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.


My System SpecsSystem Spec
Old 10-29-2008   #2 (permalink)
Joe Fawcett


 
 

Re: Access is denied

<gimme_this_gimme_that@xxxxxx> wrote in message
news:b579f3ea-a58b-45b4-a51e-aa11f51e3f83@xxxxxx
Quote:

> 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


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
can't open access control editor. Access is denied General Discussion
Access Denied, Access Denied- like a broken record! Vista General
Can't Access Printer- Access Denied. Vista networking & sharing
When standard users access Vista registry remotely, Access Denied Vista account administration
Access is denied message when trying to access a remote printer Vista print fax & scan


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46