Type 'MSXML2.XMLHTTP40' is not defined

  • Thread starter Thread starter Big George
  • Start date Start date
B

Big George

Hello,

I'm trying to write a code in ASP.NET 3.5 using MSXML2
However, type 'MSXML2.XMLHTTP40' is not defined

ASP.NET doesn't recognize: Imports MSXML2

In my Widnows XP, I don't have any: c:\windows\system32\msxml2.dll

What is missing here or what should I install to be able to use
MSXML2.dll

Code Snippet:
Dim xmlReq As MSXML2.XMLHTTP40 = New MSXML2.XMLHTTP40
Dim xmldom As MSXML2.DOMDocument = New MSXML2.DOMDocument
Dim xmlRoot As MSXML2.IXMLDOMElement
Dim xmlNode As MSXML2.IXMLDOMNode

Thanks !
 
Big George said:
Hello,

I'm trying to write a code in ASP.NET 3.5 using MSXML2
However, type 'MSXML2.XMLHTTP40' is not defined

ASP.NET doesn't recognize: Imports MSXML2

In my Widnows XP, I don't have any: c:\windows\system32\msxml2.dll

What is missing here or what should I install to be able to use
MSXML2.dll

Code Snippet:
Dim xmlReq As MSXML2.XMLHTTP40 = New MSXML2.XMLHTTP40
Dim xmldom As MSXML2.DOMDocument = New MSXML2.DOMDocument
Dim xmlRoot As MSXML2.IXMLDOMElement
Dim xmlNode As MSXML2.IXMLDOMNode
It's part of MDAC. You have to find out what version of MDAC from MS you
must download and install that the version that has the DLL you are looking
for.

MDAC is most likely on the machine due to a SP. You need to search the HD
looking for the DLL.
 
Back
Top