XML stopped working in ASP: Error ’80070005′ Access Denied

Filed Under (Windows) by cranst on 21-06-2006

I have a legacy VB Script that regularly parses XML files, then suddenly stopped working. It gave the error that I was denied access using the msxml3.dll. What I later found out after discussion, was that .NET 2.0 was installed on this machine which upgraded the version of the XMLHTTP object. So here is the breakdown:

< .NET 2.0 use Microsoft.XMLHTTP

Server.CreateObject(“Microsoft.XMLHTTP”)

= .NET 2.0 use Msxml2.ServerXMLHTTP.4.0

Server.CreateObject("Msxml2.ServerXMLHTTP.4.0")

Comments:

One Comment posted for XML stopped working in ASP: Error ’80070005′ Access Denied

Make a comment