Discussion:
msxml4.dll: Access is denied.
(too old to reply)
Mike S
2003-09-30 16:43:21 UTC
Permalink
Hi,
I am getting this err when trying to load XML file all on
the same machine local iis (personal server).
I am running Win2000, .NET, msxml4.0

This occurs using html or asp page using client or server
code. The same html page works fine when run in the
browser as: c:\...\test1.htm but get access denied when
run as http://localhost/.../test1.htm

BTW, pages using the filesystem object work fine. The
error occurs calling msxml3.0 or 4.0 - here is the code:

var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.4.0")
xmlDoc.async = false;
xmlDoc.load("c:\\temp\\vendors.xml") <--error


Please help - Thanks.
Bernard
2003-10-01 04:34:44 UTC
Permalink
do your application using any IIS authentication ?

general advise is to track file access, refer
HOWTO: Track "Permission Denied" Errors on DLL Files
http://support.microsoft.com/?id=286198
--
Regards,
Bernard Cheah
http://support.microsoft.com/
Please respond to newsgroups only ...
Post by Mike S
Hi,
I am getting this err when trying to load XML file all on
the same machine local iis (personal server).
I am running Win2000, .NET, msxml4.0
This occurs using html or asp page using client or server
code. The same html page works fine when run in the
browser as: c:\...\test1.htm but get access denied when
run as http://localhost/.../test1.htm
BTW, pages using the filesystem object work fine. The
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.4.0")
xmlDoc.async = false;
xmlDoc.load("c:\\temp\\vendors.xml") <--error
Please help - Thanks.
Loading...