I figured that what was causing your problem.
In the current code they are using
set doc = server.CreateObject("MSXML2.DomDocument.4.0")
You can use
set doc = server.CreateObject("MSXML2.DomDocument")
and you will need to change it through out several files
or you could add something like this to every createobject but you will still have to keep tract of the version
on error resume next
set doc = server.CreateObject("MSXML2.DomDocument.4.0")
if isobject(doc)=false then
set doc = server.CreateObject("MSXML2.DomDocument.2.0")
end if
if isobject(doc)=false then
set doc = server.CreateObject("MSXML2.DomDocument")
end if
on error goto 0
Another way would be to define a constant in some include files that get loaded in every page. I do this to keep track of my global constants and paramters about a site.
const XMLDOMVER = "MSXML2.DomDocument.3.0"
and on the create object
set doc = server.CreateObject( XMLDOMVER)
I think I like the third way better now that I think on it more. I will have to update my other post
RC