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

  • Thread starter Thread starter Sangeeta
  • Start date Start date
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
 
Not an Outlook question. Pick an Excel group or another that's actually
appropriate.
 
Back
Top