A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Request using XML HTTP object throws "Access is Denied" error



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 11th 09, 10:30 AM posted to microsoft.public.outlook.program_vba
Sangeeta[_2_]
external usenet poster
 
Posts: 2
Default Request using XML HTTP object throws "Access is Denied" error

Hi All,

In my excel programming, I am using XML http object (MSXML2.XMLHTTP.3.0).
Using this object when I try to send a request application throws an "Access
is Denied" error. Strange thing here is that the request absolutely works
fine on some systems with Excel 2003 and doesn't throw any error; but same
patch of code throws an error with Excel 2000, 2002, 2007 and even on some of
2003 systems.

Following is sample of code I am using
(just an example of req we send)
netHttpjspreq is an XML http object

sreqstring = "http://abc.com?sess=%25abc"

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

On second line of code application throws an error.

Can you please help me out with this?

Thanks,
Sangeeta
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request using XML Http Object throws an "Access is Denied" error Sangeeta[_2_] Outlook and VBA 1 February 11th 09 02:28 PM
"Access is denied" error in Outlook 2007 Bubba Outlook - General Queries 3 December 29th 07 04:35 AM
Accessing Hotmail from Outlook 2007 throws access denied error message [email protected] Outlook - Installation 0 December 21st 06 07:27 AM
Shorcut to Public Calendar "Access is Denied" (Syntax?) Dave Outlook - General Queries 1 November 3rd 06 04:14 PM
Denied Outlook "Send" access via Explorer when DSL Yahoo service Ken Steen-Olsen steen-olsen@sbcglobal Outlook - Installation 0 January 11th 06 11:17 PM


All times are GMT +1. The time now is 08:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.