MSXML2.DOMDocument problem


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.


paulhannonAsked:
Who is Participating?
 
b1xml2Commented:
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
 
b1xml2Commented:
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
 
paulhannonAuthor Commented:
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
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
b1xml2Commented:
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
 
paulhannonAuthor Commented:
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
 
paulhannonAuthor Commented:
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
 
b1xml2Commented:
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
 
paulhannonAuthor Commented:
Thanks, I've basically tried installing ie6 on the server and it appears to work now.

Cheers,
Paul.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.