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 an "Access is Denied" error



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

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=%25abc" (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
Ads
  #2  
Old February 11th 09, 02:28 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Request using XML Http Object throws an "Access is Denied" error

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

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sangeeta" wrote in message
...
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=%25abc" (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


 




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
"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
trying to import messages and getting "access denied" message D Brandon Outlook Express 1 July 14th 06 06:18 AM
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:16 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.