Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


MSXML4 UnauthorizedAccessException Access is denied

From: "bigHairy" <mthomas1973@-----.--->
To: NULL
Date: 12/5/2006 6:54:00 AM

Hello all. Sorry if this is an obvious question but I am relatively
inexperienced here. In agreement with a software provider we are
sending information to their own web service via http. We create an xml
file and then send it using

Public XMLDomObj1 As MSXML2.DOMDocument
Public XMLServer1 As MSXML2.ServerXMLHTTP40

..........

XMLDomObj1.load(Server.MapPath(objXMLFileName))
Call XMLServer1.open("post", "http://[theirWebService]", False)

XMLServer1.setRequestHeader("Content-Type", "text/xml")
Call XMLServer1.send(XMLDomObj1)


I have used this previously and it works fine on a server 2000 web
server running IIS 5.

I have since tried to use the same method on a different web server
(server 2003 running IIS 6) and I get the following:

UnauthorizedAccessException: Access is denied. at
MSXML2.ServerXMLHTTP40Class.send(Object varBody) at

my code is exactly the same, it is unchanged. I have installed the
msxml.msi on the new web server in the same way that I did on the old.

What am I doing wrong? 

All help is appreciated. 

Martin.



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent