well it looks like your problem is in here somewhere....
Code:
xmlDoc.load Server.MapPath(cfgWXDataPath & "wxsettings.xml")
if xmlDoc.parseError.errorCode = 0 then
set xmlElem = xmlDoc.selectSingleNode("/settings/form")
strForm = xmlElem.text
it's a little hard to say where though...
It could be that your xml is not loading properly. Your parse error check should catch that from memory but I'm not sure. you might want to do something like response.write xmlDoc.innerXML or something to check it.
It could be that it is not finding the node you are trying to select. Once again a debug statement similar to the one above should help you determine the actual events happening here.
Finally it could be that xmlElem.text does not return a string but returns an object and therefore needs a set statement but I don't think that is the case.
Additional to this it could also be something in the include files and not in this actual file....