XML stopped working in ASP: Error ‘80070005′ Access Denied
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")
Lynx said,
Wrote on June 22, 2006 @ 5:03 pm
Hey! So much for backwards compatibility! I love when MS updates their ActiveX (or what ever convention they are calling it now) modifies the object name and breaks all previous old code. Now you have to write a routine to check if the user is still using the old files or the new files and then create the correct object. Twice as much code to do the identically same thing it did before.
Sometimes I’m glad I got out of programming and went into carpentry