Wrox Programmer Forums
|
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2005, 07:26 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Rustam_pascal
Default MSXM - "Access is denied"


Hi everybody
This code works normal on client side script or Windows Host Sript

<script language="jscript">
var xObjReceive,xObjSend, xml;
xObjReceive = new ActiveXObject("MSXML2.DOMDocument.4.0");
xObjSend = new ActiveXObject("MSXML2.DOMDocument.4.0");
xObjSend.loadXML("<some></some>");
xml = new ActiveXObject("Microsoft.XMLHTTP");
xml.open("POST", "http://someserver/gate.cgi", false);
xml.setRequestHeader("Authorization", "Basic "+base64(user+":"+pass));
xml.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xml.send(xObjSend);
if (xml.readyState == 4)
    alert(xml.responseText);
</script>

But when perform in server side (calling asp page) always raises "Access is denied" error. In http://support.microsoft.com/directo...;EN-US;Q302080 there is description of similar problem.
So can anyone help me.
The main purpose is to send xml to some server using post method and receive response from it (it's important to use post becouse get works normal). May be there are some another components instead of MSXML







Similar Threads
Thread Thread Starter Forum Replies Last Post
401.3 Access denied due to Access Control List cforsyth .NET Framework 2.0 8 May 28th, 2009 01:56 PM
Access Denied tys MySQL 4 April 6th, 2007 08:31 AM
Access is denied. Ramakrishna General .NET 4 November 30th, 2004 09:05 AM
Access is Denied khautinh General .NET 1 March 26th, 2004 04:44 PM
Access Denied tys MySQL 0 March 25th, 2004 03:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.