Hello --
In my asp page (not asp.net), I am loading an xml file and am trying to take care of as many potential erros as possible.
How can I capture an Access Denied error on my xml file? (I removed permissions from the xml file and get this error:
Error Type:
msxml3.dll (0x80070005)
Access is denied. )
Can anyone tell me how to capture this error? I appreciate any help!
In my asp page (not asp.net), I am loading an xml file and am trying to take care of as many potential erros as possible.
How can I capture an Access Denied error on my xml file? (I removed permissions from the xml file and get this error:
Error Type:
msxml3.dll (0x80070005)
Access is denied. )
Code:
objSourceFile = Server.MapPath("demos/presnew.xml")
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.async = false
'line that produces error
objXML.load objSourceFile
Can anyone tell me how to capture this error? I appreciate any help!