Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP: xml.load from another server

Status
Not open for further replies.

klitten

Programmer
Oct 29, 2004
3
NO
Hello!

I use the code belowe to get the xml and xsl documents from a server and showd in a web-page(asp-iis).

When i load the page from my iis on my pc(WinXPProf) everything works fine, but when i move it to our intranet-server i get a "Access denied" error on the xml.load line.

The intranet server is another server than the one with the xml-documents.

Code:
'Load the XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false

xml.load("\\server\NT\Data\"&request.querystring("Fil"))

'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("\\server\NT\Display.xsl")

Response.Write(xml.transformNode(xsl))
 
Hi,
I'm just wondering if you found the answer to your problem on the Access Is Denied? Please let me know coz I'm facing the same problem now... Thanks.

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 
Perhaps you need to set the file permissions on the server?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top