Windows – IIS 10.0, Classic ASP cannot create MSXml2.ServerXmlHttp.6.0 object

asp-classiciismsxmlwindows

I've got two Server 2016 machines running a Classic ASP application in an x64 Integrated pool and Shared Configuration.

I thought that both servers were setup identically, however one server gets an error on:

Set obj = Server.CreateObject("MSXml2.ServerXmlHttp.6.0")

Err.Number = 800401F3

ONLY in my application!

If I put that line in a separate ASP page, running in the same site, it completes normally (Err.Number=0)

I've found no Event Log entries.

What I've tried:

  • With and without version (.6.0 part)
  • Registry permissions
  • File permissions on msxml3.dll & msxml6.dll (both System32 and SysWOW64)
  • Un/reregister the same DLLs

I'm hoping for suggestions on where to look/how to trouble shoot this.

Best Answer

If it runs fine on another page in the same site but not on another page in the same application, it must have to do with the application settings. Start with a empty web.config and add specific settings from your broken app.

If it runs fine in a basic page in the same app, your page is the problem.

Not sure what inside the configuration would cause this to break, but that's what I would try.