473,659 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7901
"Mike" <wh************ ***@gmail.comwr ote in message
news:OK******** ******@TK2MSFTN GP04.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.CreateOb ject("Msxml2.DO MDocument")
objXML.async = false

** this is the line that the error is referring to
if objXML.load(Ser ver.MapPath(get FilePath()&_pcr filename)) then
end if
end sub
"Anthony Jones" <An***********@ yadayadayada.co mwrote in message
news:ub******** ******@TK2MSFTN GP04.phx.gbl...
"Mike" <wh************ ***@gmail.comwr ote in message
news:OK******** ******@TK2MSFTN GP04.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
9012
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
18079
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 '80072efd' A connection with the server could not be established /xmlhttp.asp, line 19 Line 19 reads, "xmlhttp.send PostString" and PostString is a valid POST string.
1
6621
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 80070005' General Access error denied Web application runs under ADMINISTRATOR account and problematic code is: Set oOU = GetObject("LDAP://test.test.cz/ou=skup,dc=test,dc=test,dc=cz") Set oUser = oOU.Create("User", "cn=" & "Test" & " " &...
5
4685
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 program? Possible please give me MSXML3.0 reference URLs. Thx Ram
1
2239
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, but I get this message when I try to view through IIS 5: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005. Exception Details:...
2
5292
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 unmap the drive to protect it. I'll place as much of the code as I can here to show you. If fso.FileExists(dirOut) Then fso.DeleteFile dirOut End If Dim Shell : Set Shell = Server.CreateObject("WScript.Shell") Dim objCmd Dim RepoPath :...
1
15041
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 hosted on IIS 6.0 (W2K3). We need to restrict access to specific users within our company network. To reduce development effort I figured the easiest solution was to enable Integrated Windows Authentication. However once I enable IWA and disable...
1
4671
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");' The page just shows up as pure white with the following message. ------------- Error: Retrieving the COM class factory for component with CLSID {xxx1} failed due to the following error: 80070005.5022Retrieving the
1
8073
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 myMail=CreateObject("CDO.Message") myMail.Subject="some subject" myMail.From=mUserEmail 'valid email address myMail.to= mRecipientEmail 'valid email address myMail.HTMLBody = "some text"
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.