Classic ASP AspXml createobject fails after windows updates (20212R2 - IIS8)

245 Views Asked by At

Today our HTTP server had been updated with KB5001382, KB5001393 and KB5001403. It's a windows server 2012R2 with IIS8 installed

But after those updates I started getting an error on one of my classic asp pages.

set xml0 = Server.CreateObject("AspXml.AspXml")
set xml = xml0.HttpGet(XML_File)
xml.FirstChild2() (error on this line)

Error message: Microsoft VBScript runtime error '800a01a8' Object required: 'xml'

I tested the XML_file and it loads fine local and on te server (browser). My hosting provider says its something about case sensitivity but I can't imagine what they mean...

1

There are 1 best solutions below

1
On

Please make sure IIS and permissions to registry/files/folders related to the DLL involved.

  1. Searched the registry for the Object name. In this case "AspXml.AspXml"

  2. For all registry entries, you should take ownership of the parent registry folders, so please give read access to IIS user account.

  3. Make sure the files/folders had read/execute permission for the IIS user account(s).

  4. Registered the DLL at the command line for good measure.

  5. Rebooted because restarting IIS didn't seem to do it.