Solved

HELP!!! - Installation of MSXML Parser 4.0 SP1

Posted on 2002-05-05
6
858 Views
Last Modified: 2011-10-03
I have an ASP page that uses the Microsoft XML Parser.
I had msxml4.dll (Ver 4, not SP1 and not the pre-April 2001 release) installed, the actual version was 4.08.  In my ASP page I use the following to instantiate the XML DOM object:

Set objXMLDoc = Server.Createobject("MSXML2.DOMDocument")

Now, I just updated my server to the MSXML 4.0 SP1 parser (version 4.10) and the page now throws the error pointing to the object creation line:

Server object error 'ASP 0177 : 80040111'
Server.CreateObject Failed
ClassFactory cannot supply requested class

Why won't my CreateObject method work with this new version?  I have tried changing the line to:
Set objXMLDoc = Server.Createobject("MSXML.DOMDocument")
and
Set objXMLDoc = Server.Createobject("MSXML2.DOMDocument.4.0")
but neither of those work either.  This upgrade caused my entire site to go down and I can't find out how to "roll-back" to the non-SP1 version. I am in a bind here, so any help is appreciated.
0
Comment
Question by:bmccleary
  • 3
  • 3
6 Comments
 

Author Comment

by:bmccleary
ID: 6990787
BTW - I am using the same reference to instantiate the parser from a VB component that I am using as well and the VB component doesn't have any problems... it's only with my ASP page.  I referenced MS XML 4.0 and used "Dim objXMLDoc As MSXML2.DOMDocument" to instantiate the parser.
0
 
LVL 23

Expert Comment

by:b1xml2
ID: 6990914
Brian,

1. what Operating System are you using?
2. what MSIE version is on the server?

Notes
=====
1. I have installed MSXML4 SP1 on top of MSXML4 for Windows 2000 Professional, Windows 2000 Server and Windows 2000 Advanced server. There was no problems encountered. Remember to close all objects which use MSXML4. This includes any COM or COM+/MTS Objects (in short, reboot box if you are using COM+/MTS as shutting down the services do not guarantee that the pointers are properly released)

2. Remember that there was the July and April releases of MSXML4 be4 it went gold. Uninstall all MSXML4 of these beta versions be4 you proceed.

3. You would have installed Windows Installer 2.0  be4 you could install MSXML4 RTM+.




0
 

Author Comment

by:bmccleary
ID: 6991243
b1xml2,
Thanks for the response!  Here's the low-down on my configuration.  I did the development on one of our testing machines running W2K Professional.  It had MSXML 4.08 installed (I believe that this was the non-SP1 version, but it was downloaded and installed within the past 6 months, so it should not be the older releases).  It worked perfectly for development, then when I rolled it out onto the production server which is W2K Advanced Server which had MSXML 4.0 SP1 installed, then I got the error.  To test out what was causing the error, I installed the SP1 on my machine and it caused the same error.  According to Microsoft (http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/766/msdncompositedoc.xml) they recommend unregistering the DLL's before install, but only for the pre-releases.  I did not do this, but after the error, I did uninstall MSXML 4.0, reboot, delete the dll's, reboot again, and reinstall, and it did not fix the problem.  It sounds like the component interface changed between releases.  Does this help?  Am I using the correct call to instantiate the object?
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 23

Accepted Solution

by:
b1xml2 earned 100 total points
ID: 6991279
>>
ClassFactory cannot supply requested class
<<

generally indicates that the browser is of the wrong version. If i might hazard a guess, the difference between the dev box and the server is the MSIE version yes? If that is the case, upgrade to MSIE 6 on the Server. I have had developers telling me that MSXML4 requires MSIE 6 or else it will break but I have not had the luxury of checking out their claims.

Also, have you installed Windows Installer 2.0 be4 you installed MSXML4 on the Advanced Server?
0
 
LVL 23

Expert Comment

by:b1xml2
ID: 6991282
Also,

if you have MSXML3 installed on your box, as an interim measure, use the progid "Msxml2.DOMDocument.3.0". To call MSXML4, you are using the right progid "Msxml2.DOMDocument.4.0"
0
 

Author Comment

by:bmccleary
ID: 6991487
I did have MSIE 6.0 already installed, so I don't know what fixed the problem, but it is fixed now.  I had to completly uninstall MSXML and reinstall IE6 and MSXML and the problem seemed to fix itself.  Also, I did have to use the "MSXML2.DOMDocument.4.0" reference instead of the "MSXML2.DOMDocument". Thanks for info!
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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