Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old September 5th, 2008, 08:35 PM
Mike
Guest
 
Posts: n/a
Default msxml3.dll error '80070005'

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
Default 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
Default 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
Default 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
Default 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.
>
>
>
>
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles