This little error is causing some trouble for developers, particularly those in charge of maintaining legacy code in VB and vbscript. The trouble has stemmed from a recent microsoft service pack: Microsoft Security Bulletin MS07-042 - Critical (Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution (936227))

I have seen this everywhere on my travels across Google. People are trying all kinds of things to fix the error in the title. It may also manifest itself as msxml2.dll error ‘80070005′ Access Denied. There was a critical patch needed to secure things further, so it’s a good thing to take care of. That doesn’t take care of the headache.

So, to the code.

Should you have something similar to:

Set xml = Server.CreateObject("Microsoft.XMLHTTP")

Replace it with something like:

Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")

I hope this helps.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Technorati
  • Slashdot
  • Furl
  • StumbleUpon