473,383 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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.

Sep 5 '08 #1
4 7865
"Mike" <wh***************@gmail.comwrote in message
news:OK**************@TK2MSFTNGP04.phx.gbl...
>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

Sep 5 '08 #2
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" <An***********@yadayadayada.comwrote in message
news:ub**************@TK2MSFTNGP04.phx.gbl...
"Mike" <wh***************@gmail.comwrote in message
news:OK**************@TK2MSFTNGP04.phx.gbl...
>>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

Sep 8 '08 #3


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

Sep 24 '08 #4


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

Sep 24 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pai | last post by:
Hello there, I am trying to send a attachemnt using CDO when I try to attach a file to the message, I get the error CDO.Message.1 error 80070005 Access denied
4
by: Charlie Company | last post by:
I wonder if anyone might be able to help me on this one. I am using MSXML3 in ASP to do a POST to a JSP page that's on the same server as my ASP page. The error I get is: msxml3.dll error...
1
by: Bohous | last post by:
I create an ASP application for Windows 2003 server (Czech) with Exchange 2003. When I want to create new user in Active Directory from my application - this error occurs: Active Directory error...
5
by: ram | last post by:
Hi i AM USING VISUAL STUDIO.NET FOR MY ASP.NET PROGRAMS. I would like to access xml files using MSXML3.0 parser. Can any body tell me the syntax of "Import" statement to call this control in my...
1
by: tigerjade | last post by:
I'm trying to add some simple functionality to an intranet, allowing the app to display current tasks, calendar entries, and count the number of unread in the inbox. It works fine through Cassini,...
2
by: CrystalBlue | last post by:
I've got a silly little problem when I'm trying to map a drive using shell script. Basically, I need the program to open up to a specific folder on a shared server and throw a zip file onto it, then...
1
by: JordanRieger | last post by:
Here is a nasty issue that has been giving me grief for the last couple days. This requires good knowledge of IIS, MSXML, and Windows/NTFS permissions. We have an existing ASP (VBScript) app...
1
by: NvrBst | last post by:
Hello. I have a ASP webpage that I'm converting to ASP.NET. The ASP is writen with <%@ Language=JScript %>. I'm having a problem with the 'var oTestObject = Server.CreateObject("Test.class");'...
1
by: parmsingh | last post by:
I am trying to use CDO to send email with attachments using the following code: Dim myMail Dim mFile1 mFile1="c:\images\a.gif" 'valid file path, file actually exists Set...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.