Solved

MSXML2.DOMDocument problem

Posted on 2002-05-21
8
318 Views
Last Modified: 2008-02-01

When trying to create an object of the above type i am getting the following error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

I have tried installing the msxml parser 4.0 to no avail.

Anyone know what component i need to install?

Any help would be appreciated.


0
Comment
Question by:paulhannon
  • 4
  • 4
8 Comments
 
LVL 23

Expert Comment

by:b1xml2
ID: 7024028
You need to have Windows Installer 2.0 installed first before you can successfully install MSXML 4.0

From the download page:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/766/msdncompositedoc.xml

This release uses Windows® Installer 2.0. If you do not have this version, download and install it here for Windows NT/2000 or here for Windows Me/9x.
0
 

Author Comment

by:paulhannon
ID: 7024065
Hello,

I've tried that but still same problem.
Any other thoughts?

For some reason it works on my local machine but not on the server for my website.
0
 
LVL 23

Expert Comment

by:b1xml2
ID: 7024089
did you install Windows Installer 2.0 first and then MSXML 4.0 or after installing MSXML4, you installed Windows Installer 2.0.

It is a pre-requisite that Windows Installer 2.0 must be on your box be4 you can install MSXML4. Doing it any other way will result in your browser being damaged as far as XML functionality is concerned.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:paulhannon
ID: 7024104
Hello,

I've tried that but still same problem.
Any other thoughts?

For some reason it works on my local machine but not on the server for my website.
0
 

Author Comment

by:paulhannon
ID: 7024112
Initially I did try to install it first but it wouldn't let me. So then I installed the new version of the installer followed by the parser.

The thing is i am using the browser on my local machine anyway to access remote server. Would it make any difference if i installed ie6 on the actual server?
0
 
LVL 23

Expert Comment

by:b1xml2
ID: 7024127
MSXML4 can run with MSIE 5+. I have MSIE 5.5 running successfully with MSXML4 in the office.
If you want to instantiate MSXML4 and I bet you, you dont have MSXML 2.6 or MSXML 3,

the ONLY way to instantiate MSXML 4 is to specify the version-specific progid

<%
Dim oXML
Set oXML = Server.CreateObject("Msxml2.DOMDocument.4.0")
%>
0
 
LVL 23

Accepted Solution

by:
b1xml2 earned 50 total points
ID: 7024130
By using just Msxml2.DOMDocument, you are actually asking for MSXML 2.6 or MSXML 3.0 which can be called via the version INDEPENDENT progid. However, Microsoft has changed the rules for MSXML4 and requires a version dependent prog id for MSXML 4.
0
 

Author Comment

by:paulhannon
ID: 7024662
Thanks, I've basically tried installing ie6 on the server and it appears to work now.

Cheers,
Paul.

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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