473,394 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
Feb 18 '09 #1
2 5326
jkmyoung
2,057 Expert 2GB
First off, have you verified that these URLs are indeed accessible from these other systems? It could be a firewall issue.

Have you tried sending static xmls through any other application, such as curl?
Feb 18 '09 #2
Yeah I did try to access that url with the HttpSendRequest API and with that it works fine. When I am trying to access that url it redirects 3 times to 3 different url and then finally I get the session id.
With xmlhttp object on my system (I have Excel 2003) it works fine; but on m/c with 2000, 2002, 2007 and even on some m/c with 2003 this method throws Access Denied error.

Thanks for replying to my query.

Sangeeta
Feb 19 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Riyad | last post by:
Hi all, I have trouble instantiating a COM object from an ASP file: Server.CreateObject raises "Access Denied" error. The COM object is a VB.Net assembly registered for COM Interop. It can be...
0
by: Brian Call | last post by:
We have a customer that is getting an "Access is denied" (to a specific dll in the application's bin directory) error on XP when trying to run an ASP.NET application. All the posts and KB articles...
0
by: Gururaj Badam | last post by:
I get the following access denied error when i try to export an image Start of Error Message Access Denied. Description: An unhandled exception has occurred during the execution of the...
2
by: Loane Sharp | last post by:
Hi there I'm using VB.NET and Office Web Components to access a SQL Server 2005 Express database and draw pictures on the fly in my ASP.NET application. Using .ExportPicture to write the...
1
by: srivatsans101 | last post by:
Hi, I'm trying to access the IFrame contents on a HTML page as frames.document But in IE, I'm getting Access Denied Error Message. I tried to add the IFrame's Src WebSite (a...
0
by: =?Utf-8?B?TW9udGU=?= | last post by:
I am using VB.NET to open and read info from Excel spreadsheets using code similar to this: Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlBooks As Excel.Workbooks Dim...
6
by: =?Utf-8?B?UGF1bA==?= | last post by:
I am getting an "Access to the path "xxxx" is denied error. I believe is because the file that I am writing to programatically is being read/written to by another end user. These files have the...
18
by: Jeff Bigham | last post by:
Hi, I'm getting an "Access is denied" error in IE when I try to focus an input box with node.focus() My understanding is that should only happen when the domains are different of the...
2
by: sphinney | last post by:
Hi everyone. I have a form in my Access 2007 database with a Microsoft Office Document Imaging Viewer Control 12.0 object on it. The object is named "GRAPHIC_mdv". When the form opens I want to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.