I have an asp page that is calling the msxml2.dll to open a XML file. When I
load the page for the first time I get
msxml3.dll error '80070005'
Access Denied Error
but when I refresh the page, I can view the data from the XML document. Does
anyone know a cause of this and how can I resolve it? My web app is running
on a total of 2 servers and I'm only having this issue on one of my servers.
>I have an asp page that is calling the msxml2.dll to open a XML file. When
>I load the page for the first time I get
[quoted text clipped - 6 lines]
> running on a total of 2 servers and I'm only having this issue on one of
> my servers.
It might help if you showed us some code and pointed out the line in ASP
where you get the error.
I have seen this sort of thing when a site has got inconsistent security
configured in its folder or files.
For example, a folder is added to the site but whilst users in general have
access to the folder the need to allow the anonymous user access to the file
has been overlooked. No one notices because the site is an intranet and an
authenticated connection is created silently when a user visits this folder.
Now the user visits an area where users in general have not been granted
access but the anonymous user has. The request fails because the user has
an authenticated connection but no access. A refresh is successful because
the previous error has caused the connection to be dropped and the new
connection uses the anonymous user.

Signature
Anthony Jones - MVP ASP/ASP.NET
Mike - 08 Sep 2008 17:50 GMT
Here is the line of ASP code that is error is referring to;
sub GetFile()
dim objXML
set objXML = Server.CreateObject("Msxml2.DOMDocument")
objXML.async = false
** this is the line that the error is referring to
if objXML.load(Server.MapPath(getFilePath()&_pcrfilename)) then
end if
end sub
>>I have an asp page that is calling the msxml2.dll to open a XML file. When
>>I load the page for the first time I get
[quoted text clipped - 22 lines]
> refresh is successful because the previous error has caused the connection
> to be dropped and the new connection uses the anonymous user.
> I have an asp page that is calling the msxml2.dll to open a XML file. When I
> load the page for the first time I get
[quoted text clipped - 5 lines]
> anyone know a cause of this and how can I resolve it? My web app is running
> on a total of 2 servers and I'm only having this issue on one of my servers.
> I have an asp page that is calling the msxml2.dll to open a XML file. When I
> load the page for the first time I get
[quoted text clipped - 5 lines]
> anyone know a cause of this and how can I resolve it? My web app is running
> on a total of 2 servers and I'm only having this issue on one of my servers.