Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: ocean10000
msxml3.dll error '80070005'
Access is denied.
/document.asp, line 15
Here is the code from document.asp which causes the problem:
2 Response.Buffer = True
3 Dim objXMLHTTP, xml, cid, dtype
5 cid = Request.QueryString("cid")
6 dtype = Request.QueryString("type")
8 'Create an xmlhttp object:
9 Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
11 ' Opens the connection to the remote server.
12 xml.Open "GET", "http://www.example.com/d?cid=" & cid & "&type=" & dtype, False
14 ' Actually Sends the request and returns the data:
17 Response.Write xml.responseText
19 Set xml = Nothing
The strange thing is that this only happens occasionally on the pages. I don't understand. I'm no expert coder so if I forgot to post something that would help, please let me know what you need to help diagnose the problem. Any help would be appreciated.
The server is Server 2003 w/ IIS6.
Are you sure the path on line 12 is valid everytime? What is in the query strings when the page fails (Maybe something in there is causing the issue)
[edited by: Matt_C at 3:53 pm (utc) on Nov. 4, 2008]
Are you sure it has sufficient permissions (Set under IIS)?
Are you sure the path on line 12 is valid everytime?
What is in the query strings when the page fails
So I would agree with you that it does look like more likely to be the URL on line 12.
I'd like to know how you sort this out.
[edited by: Matt_C at 4:42 pm (utc) on Nov. 4, 2008]
But you might want to Google DCOM Configuration and Local Security Policies. The 80070005 error is a notoriously ambiguous error. But I would start with those two.
If your skills permit, I did notice a work around using the ServerXMLHTTP component instead. Google keywords msxml3 +80070005 +.Send