Error Could Not Create Msxml2.xmlhttp.4.0 Object
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more msxml2.domdocument.4.0 download about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users activex component can't create object windows 7 64 bit Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping msxml2 install each other. Join them; it only takes a minute: Sign up ActiveX component can't create object: 'MSXML2.DOMDocument' up vote 6 down vote favorite 2 I am trying to create an instance of the object Msxml2.DOMDocument.4.0, but I am
Activex Component Can't Create Object Windows 7 32bit
getting the following error: ActiveX component can't create object: 'MSXML2.DOMDocument' The error occures in this line: Set xmlDoc = CreateObject("Msxml2.DOMDocument.4.0") How can I solve this problem? Thank you for your helps windows-7 vbscript 64bit activex share|improve this question asked Apr 23 '13 at 10:32 Kaja 72342035 add a comment| 2 Answers 2 active oldest votes up vote 12 down vote accepted Probably the specific version 4.0 of Msxml2.DOMDocument is not (properly) installed on the computer your script msxml2 download runs on. Try to create the version-independent object: Set xmlDoc = CreateObject("Msxml2.DOMDocument") This should give you the version that 'works' on your machine. If this fails, try Set xmlDoc = CreateObject("Msxml2.DOMDocument.6.0") or experiment with the version number. Use TypeName(xmlDoc) to get a hint wrt the effective version. P.S. If your problem is caused by 32 vs. 64 bit troubles, this may give you further hints for things to check. share|improve this answer edited Apr 23 '13 at 11:37 answered Apr 23 '13 at 11:27 Ekkehard.Horner 30k11934 add a comment| up vote 4 down vote Check if msxml4.dll exists on your system. and (re-)register the library if it does: cd %SystemRoot%\system32 regsvr32 /u msxml4.dll regsvr32 msxml4.dll You need admin privileges to do this. share|improve this answer answered Apr 23 '13 at 14:34 Ansgar Wiechers 85.4k1164102 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged windows-7 vbscript 64bit activex or ask your own question. asked 3 years ago viewed 23754 times active 2 years ago Get the weekly newsletter! In it, you'll get
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for msxml2.domdocument.4.0 is not found Help Receive Real-Time Help Create a Freelance Project Hire for a
Msxml2::domdocument40
Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products
Activex Component Can't Create Object Windows 10
BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > ActiveX component can't create object: 'MSXML2.ServerXMLHTTP' Want to Advertise Here? Solved http://stackoverflow.com/questions/16167111/activex-component-cant-create-object-msxml2-domdocument ActiveX component can't create object: 'MSXML2.ServerXMLHTTP' Posted on 2007-01-04 Web Development 1 Verified Solution 10 Comments 14,923 Views Last Modified: 2011-08-18 Hi, I am trying to create an instance of the object MSXML2.ServerXMLHTTP in ASP, but I am getting the following error: Error Type: Microsoft VBScript runtime (0x800A01AD) ActiveX component can't create object: 'MSXML2.ServerXMLHTTP' This https://www.experts-exchange.com/questions/22111526/ActiveX-component-can't-create-object-'MSXML2-ServerXMLHTTP'.html code was working before we updated IIS to a higher version. This is part of the code that I am using. Any Ideas? Thanks '============================ Transactions =================== PARTNERLOGIN = WEBSERVICE + "PartnerLogin" '========================================================================= 'call webservice to get login Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") Set xmlDOC = CreateObject("MSXML2.DOMDocument") Set xmlDOC_Res = CreateObject("MSXML2.DOMDocument") xmltext ="
be down. Please try the request again. Your cache administrator is webmaster. Generated Sun, 09 Oct 2016 15:04:25 GMT by s_ac5 (squid/3.5.20)