Request using XML Http Object throws an "Access is Denied" error

S

Sangeeta

Hi All,

In my excel programming, I am using XML HTTP object ("MSXML2.XMLHTTP.3.0").
When I try to send request to specific URL, application throws an error
"Access is Denied". Strange thing here is that with Excel 2003 on some
systems it works absolutely fine without throwing any error; but with Excel
2000, 2002, 2007 and even some system with 2003 for XML Http Object it throws
"Access Denied" error.

Following is sample code for same:
sreqstring = "http://abc.com?sess=%abc" (just an example the way we are
passing the request)

netHttpjspreq.Open "POST", sreqstring, False
netHttpjspreq.send

For second line it thows an error.

Can you please help me out with this?

Thanks,
Sangeeta
 
K

Ken Slovak - [MVP - Outlook]

Not an Outlook question. Pick an Excel group or another that's actually
appropriate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top