Connecting Tech Pros Worldwide Help | Site Map

msxml3.dll error '80070005'

  #1  
Old September 5th, 2008, 08:35 PM
Mike
Guest
 
Posts: n/a
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.



  #2  
Old September 5th, 2008, 09:45 PM
Anthony Jones
Guest
 
Posts: n/a

re: msxml3.dll error '80070005'


"Mike" <whyyoulookingatme@gmail.comwrote in message
news:OK$Izz4DJHA.4976@TK2MSFTNGP04.phx.gbl...
Quote:
>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.
>
>
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.

--
Anthony Jones - MVP ASP/ASP.NET

  #3  
Old September 8th, 2008, 05:55 PM
Mike
Guest
 
Posts: n/a

re: msxml3.dll error '80070005'


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()&_pcrfilen ame)) then


end if
end sub
"Anthony Jones" <AnthonyWJones@yadayadayada.comwrote in message
news:ubleXf5DJHA.4696@TK2MSFTNGP04.phx.gbl...
Quote:
"Mike" <whyyoulookingatme@gmail.comwrote in message
news:OK$Izz4DJHA.4976@TK2MSFTNGP04.phx.gbl...
Quote:
>>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.
>>
>>
>
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.
>
--
Anthony Jones - MVP ASP/ASP.NET
>

  #4  
Old September 24th, 2008, 01:25 AM
=?Utf-8?B?bXN4bWwzLmRsbA==?=
Guest
 
Posts: n/a

re: msxml3.dll error '80070005'




"Mike" wrote:
Quote:
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.
>
>
>
>
  #5  
Old September 24th, 2008, 09:05 PM
=?Utf-8?B?YXlkxLFuIGJvc3RhbmPEsQ==?=
Guest
 
Posts: n/a

re: msxml3.dll error '80070005'




"Mike" wrote:
Quote:
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.
>
>
>
>
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why this ASP code all of the sudden stopped working? Max2006 answers 3 October 5th, 2007 03:25 PM
A question about classic asp Max2006 answers 2 October 5th, 2007 10:35 AM
msxml3.dll error '80070005' Access is denied. - Loading XML file from shared folder JordanRieger answers 1 August 10th, 2007 01:38 AM
XML Permissions scott answers 3 July 22nd, 2005 01:50 AM