[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Type 'MSXML2.XMLHTTP40' is not defined

Posted on 2009-04-17
2
Medium Priority
?
776 Views
Last Modified: 2012-05-06
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  


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

Open in new window

0
Comment
Question by:miyahira
2 Comments
 
LVL 9

Accepted Solution

by:
tetorvik earned 1000 total points
ID: 24170257
you can download the component for example from
http://www.dlldump.com/download-dll-files.php/dllfiles/M/msxml2.dll/download.html

register the component on your computer using regsvr32 commad.
Then you should be able to add msxml2 as a reference to your asp.net project.

Hope this helps!
0
 
LVL 1

Author Comment

by:miyahira
ID: 24171224
Thank you !
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question