Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: MSXML4 UnauthorizedAccessException Access is denied MSXML4 UnauthorizedAccessException Access is deniedTo: 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.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
