Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   msxml3.dll error '80070005' (http://www.velocityreviews.com/forums/t804464-msxml3-dll-error-80070005-a.html)

Mike 09-05-2008 07:23 PM

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.




Anthony Jones 09-05-2008 08:41 PM

Re: msxml3.dll error '80070005'
 
"Mike" <whyyoulookingatme@gmail.com> wrote in message
news:OK$Izz4DJHA.4976@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


Mike 09-08-2008 04:50 PM

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




msxml3.dll 09-24-2008 12:16 AM

RE: msxml3.dll error '80070005'
 


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


aydın bostancı 09-24-2008 07:56 PM

RE: msxml3.dll error '80070005'
 


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


Timm Krause 01-11-2010 11:15 AM

msxml3.dll error '80070005'
 
I have the same error, but other code (ASP Classic):

objSoapRequest = Server.createobject("MSXML2.XMLHTTP")

This line produces the error.

Any ideas?



aydnbostan wrote:

RE: msxml3.dll error '80070005'
24-Sep-08

"Mike" wrote:

Previous Posts In This Thread:

On Friday, September 05, 2008 3:23 PM
Mike wrote:

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 ge

msxml3.dll error '80070005
Access Denied Erro

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.

On Friday, September 05, 2008 4:41 PM
Anthony Jones wrote:

Re: msxml3.dll error '80070005'
"Mike" <whyyoulookingatme@gmail.com> wrote in message
news:OK$Izz4DJHA.4976@TK2MSFTNGP04.phx.gbl..

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

On Monday, September 08, 2008 12:50 PM
Mike wrote:

Here is the line of ASP code that is error is referring to;sub GetFile() dim
Here is the line of ASP code that is error is referring to

sub GetFile(
dim objXM
set objXML = Server.CreateObject("Msxml2.DOMDocument"
objXML.async = fals

** this is the line that the error is referring t
if objXML.load(Server.MapPath(getFilePath()&_pcrfilen ame)) the

end i
end su
"Anthony Jones" <AnthonyWJones@yadayadayada.com> wrote in message
news:ubleXf5DJHA.4696@TK2MSFTNGP04.phx.gbl...

On Tuesday, September 23, 2008 8:16 PM
aydin bostanc wrote:

RE: msxml3.dll error '80070005'
"Mike" wrote:

On Wednesday, September 24, 2008 3:56 PM
aydnbostan wrote:

RE: msxml3.dll error '80070005'
"Mike" wrote:


Submitted via EggHeadCafe - Software Developer Portal of Choice
C# Dev Guide to ASP.NET/ADO.NET/XML
http://www.eggheadcafe.com/tutorials...o-aspneta.aspx

Dan 01-11-2010 11:37 AM

Re: msxml3.dll error '80070005'
 

Why are you using a component that isn't designed for use on a server? It's
not thread safe. You should be using the ServerXMLHTTP object.

And are you getting the same error as the post you replied to (which is well
over a year old!)? If so, why are you using msxml3? Why isn't version 6
installed on the server?

Dan


"Timm Krause" wrote in message news:201011161513timm_krause@web.de...
> I have the same error, but other code (ASP Classic):
>
> objSoapRequest = Server.createobject("MSXML2.XMLHTTP")
>
> This line produces the error.
>
> Any ideas?
>
>
>
> aydnbostan wrote:
>
> RE: msxml3.dll error '80070005'
> 24-Sep-08
>
> "Mike" wrote:
>
> Previous Posts In This Thread:
>
> On Friday, September 05, 2008 3:23 PM
> Mike wrote:
>
> 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.
>
> On Friday, September 05, 2008 4:41 PM
> Anthony Jones wrote:
>
> Re: msxml3.dll error '80070005'
> "Mike" <whyyoulookingatme@gmail.com> wrote in message
> news:OK$Izz4DJHA.4976@TK2MSFTNGP04.phx.gbl...
>
> 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
>
> On Monday, September 08, 2008 12:50 PM
> Mike wrote:
>
> Here is the line of ASP code that is error is referring to;sub GetFile()
> dim
> 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.com> wrote in message
> news:ubleXf5DJHA.4696@TK2MSFTNGP04.phx.gbl...
>
> On Tuesday, September 23, 2008 8:16 PM
> aydin bostanc wrote:
>
> RE: msxml3.dll error '80070005'
> "Mike" wrote:
>
> On Wednesday, September 24, 2008 3:56 PM
> aydnbostan wrote:
>
> RE: msxml3.dll error '80070005'
> "Mike" wrote:
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> C# Dev Guide to ASP.NET/ADO.NET/XML
> http://www.eggheadcafe.com/tutorials...o-aspneta.aspx





Bob Barrows 01-11-2010 11:42 AM

Re: msxml3.dll error '80070005'
 
Timm Krause wrote:
> I have the same error, but other code (ASP Classic):
>
> objSoapRequest = Server.createobject("MSXML2.XMLHTTP")
>
> This line produces the error.
>
> Any ideas?
>


When assigning an object to a variable, you _must_ use the Set keyword.

Set objSoapRequest = Server.createobject("MSXML2.XMLHTTP")

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Evertjan. 01-11-2010 02:03 PM

Re: msxml3.dll error '80070005'
 
Bob Barrows wrote on 11 jan 2010 in
microsoft.public.inetserver.asp.general:

> Timm Krause wrote:
>> I have the same error, but other code (ASP Classic):
>>
>> objSoapRequest = Server.createobject("MSXML2.XMLHTTP")
>>
>> This line produces the error.
>>
>> Any ideas?
>>

>
> When assigning an object to a variable, you _must_ use the Set keyword.
>
> Set objSoapRequest = Server.createobject("MSXML2.XMLHTTP")


.... when using VBS.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


All times are GMT. The time now is 02:27 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.