Link to home
Start Free TrialLog in
Avatar of paulhannon
paulhannon

asked on

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.


Avatar of b1xml2
b1xml2
Flag of Australia image

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.
Avatar of paulhannon
paulhannon

ASKER

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.
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.
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.
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?
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")
%>
ASKER CERTIFIED SOLUTION
Avatar of b1xml2
b1xml2
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, I've basically tried installing ie6 on the server and it appears to work now.

Cheers,
Paul.